@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetAccountConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes a target account configuration.
| Constructor and Description |
|---|
TargetAccountConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TargetAccountConfiguration |
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.
|
TargetAccountConfiguration |
withAccountId(String accountId)
The Amazon Web Services account ID of the target account.
|
TargetAccountConfiguration |
withDescription(String description)
The description of the target account.
|
TargetAccountConfiguration |
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 TargetAccountConfiguration 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 TargetAccountConfiguration 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 TargetAccountConfiguration 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 TargetAccountConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.