@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateAccountsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AssociateAccountsRequest() |
| Modifier and Type | Method and Description |
|---|---|
AssociateAccountsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The associating array of account IDs.
|
String |
getArn()
The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
The associating array of account IDs.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.
|
String |
toString()
Returns a string representation of this object.
|
AssociateAccountsRequest |
withAccountIds(Collection<String> accountIds)
The associating array of account IDs.
|
AssociateAccountsRequest |
withAccountIds(String... accountIds)
The associating array of account IDs.
|
AssociateAccountsRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setArn(String arn)
The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.
arn - The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.public String getArn()
The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.
public AssociateAccountsRequest withArn(String arn)
The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.
arn - The Amazon Resource Name (ARN) of the billing group that associates the array of account IDs.public List<String> getAccountIds()
The associating array of account IDs.
public void setAccountIds(Collection<String> accountIds)
The associating array of account IDs.
accountIds - The associating array of account IDs.public AssociateAccountsRequest withAccountIds(String... accountIds)
The associating array of account IDs.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection) or withAccountIds(java.util.Collection) if you want to
override the existing values.
accountIds - The associating array of account IDs.public AssociateAccountsRequest withAccountIds(Collection<String> accountIds)
The associating array of account IDs.
accountIds - The associating array of account IDs.public String toString()
toString in class ObjectObject.toString()public AssociateAccountsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()