@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetAccountConfigurationSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides a summary of a target account configuration.
| Constructor and Description |
|---|
TargetAccountConfigurationSummary() |
| Modifier and Type | Method and Description |
|---|---|
TargetAccountConfigurationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The AWS account ID of the target account.
|
String |
getDescription()
The description of the target account.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role for the target account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAccountId(String accountId)
The AWS account ID of the target account.
|
void |
setDescription(String description)
The description of the target account.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role for the target account.
|
String |
toString()
Returns a string representation of this object.
|
TargetAccountConfigurationSummary |
withAccountId(String accountId)
The AWS account ID of the target account.
|
TargetAccountConfigurationSummary |
withDescription(String description)
The description of the target account.
|
TargetAccountConfigurationSummary |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role for the target account.
|
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role for the target account.
roleArn - The Amazon Resource Name (ARN) of an IAM role for the target account.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role for the target account.
public TargetAccountConfigurationSummary withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role for the target account.
roleArn - The Amazon Resource Name (ARN) of an IAM role for the target account.public void setAccountId(String accountId)
The AWS account ID of the target account.
accountId - The AWS account ID of the target account.public String getAccountId()
The AWS account ID of the target account.
public TargetAccountConfigurationSummary withAccountId(String accountId)
The AWS account ID of the target account.
accountId - The AWS account ID of the target account.public void setDescription(String description)
The description of the target account.
description - The description of the target account.public String getDescription()
The description of the target account.
public TargetAccountConfigurationSummary withDescription(String description)
The description of the target account.
description - The description of the target account.public String toString()
toString in class ObjectObject.toString()public TargetAccountConfigurationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.