@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAccountAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateAccountAliasRequest()
Default constructor for CreateAccountAliasRequest object.
|
CreateAccountAliasRequest(String accountAlias)
Constructs a new CreateAccountAliasRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
CreateAccountAliasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountAlias()
The account alias to create.
|
int |
hashCode() |
void |
setAccountAlias(String accountAlias)
The account alias to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateAccountAliasRequest |
withAccountAlias(String accountAlias)
The account alias to create.
|
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 CreateAccountAliasRequest()
public CreateAccountAliasRequest(String accountAlias)
accountAlias - The account alias to create.
This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.
public void setAccountAlias(String accountAlias)
The account alias to create.
This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.
accountAlias - The account alias to create.
This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.
public String getAccountAlias()
The account alias to create.
This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.
This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.
public CreateAccountAliasRequest withAccountAlias(String accountAlias)
The account alias to create.
This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.
accountAlias - The account alias to create.
This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.
public String toString()
toString in class ObjectObject.toString()public CreateAccountAliasRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()