@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 Amazon Web Services 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)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountId(String accountId)
The Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services account ID of the target account.
accountId - The Amazon Web Services account ID of the target account.public String getAccountId()
The Amazon Web Services account ID of the target account.
public TargetAccountConfigurationSummary withAccountId(String accountId)
The Amazon Web Services account ID of the target account.
accountId - The Amazon Web Services 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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.