public class CreateAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the CreateAlias operation.
NOOP| Constructor and Description |
|---|
CreateAliasRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateAliasRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAlias()
The requested alias.
|
String |
getDirectoryId()
The identifier of the directory for which to create the alias.
|
int |
hashCode() |
void |
setAlias(String alias)
The requested alias.
|
void |
setDirectoryId(String directoryId)
The identifier of the directory for which to create the alias.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAliasRequest |
withAlias(String alias)
The requested alias.
|
CreateAliasRequest |
withDirectoryId(String directoryId)
The identifier of the directory for which to create the alias.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDirectoryId(String directoryId)
The identifier of the directory for which to create the alias.
directoryId - The identifier of the directory for which to create the alias.public String getDirectoryId()
The identifier of the directory for which to create the alias.
public CreateAliasRequest withDirectoryId(String directoryId)
The identifier of the directory for which to create the alias.
directoryId - The identifier of the directory for which to create the alias.public void setAlias(String alias)
The requested alias.
The alias must be unique amongst all aliases in AWS. This operation
throws an EntityAlreadyExistsException error if the alias
already exists.
alias - The requested alias.
The alias must be unique amongst all aliases in AWS. This
operation throws an EntityAlreadyExistsException
error if the alias already exists.
public String getAlias()
The requested alias.
The alias must be unique amongst all aliases in AWS. This operation
throws an EntityAlreadyExistsException error if the alias
already exists.
The alias must be unique amongst all aliases in AWS. This
operation throws an EntityAlreadyExistsException
error if the alias already exists.
public CreateAliasRequest withAlias(String alias)
The requested alias.
The alias must be unique amongst all aliases in AWS. This operation
throws an EntityAlreadyExistsException error if the alias
already exists.
alias - The requested alias.
The alias must be unique amongst all aliases in AWS. This
operation throws an EntityAlreadyExistsException
error if the alias already exists.
public String toString()
toString in class ObjectObject.toString()public CreateAliasRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.