@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExperimentTargetAccountConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes a target account configuration for an experiment.
| Constructor and Description |
|---|
ExperimentTargetAccountConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ExperimentTargetAccountConfiguration |
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.
|
ExperimentTargetAccountConfiguration |
withAccountId(String accountId)
The AWS account ID of the target account.
|
ExperimentTargetAccountConfiguration |
withDescription(String description)
The description of the target account.
|
ExperimentTargetAccountConfiguration |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role for the target account.
|
public ExperimentTargetAccountConfiguration()
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 ExperimentTargetAccountConfiguration 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 ExperimentTargetAccountConfiguration 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 ExperimentTargetAccountConfiguration 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 ExperimentTargetAccountConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.