@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 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.
|
ExperimentTargetAccountConfiguration |
withAccountId(String accountId)
The Amazon Web Services 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 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 ExperimentTargetAccountConfiguration 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 ExperimentTargetAccountConfiguration withDescription(String description)
The description of the target account.
description
- The description of the target account.public String toString()
toString
in class Object
Object.toString()
public ExperimentTargetAccountConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.