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() |
boolean |
equals(Object obj) |
String |
getAlias()
The requested alias.
|
String |
getDirectoryId()
The identifier of the directory to create the alias for.
|
int |
hashCode() |
void |
setAlias(String alias)
The requested alias.
|
void |
setDirectoryId(String directoryId)
The identifier of the directory to create the alias for.
|
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 to create the alias for.
|
copyBaseTo, 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 to create the alias for.
directoryId - The identifier of the directory to create the alias for.public String getDirectoryId()
The identifier of the directory to create the alias for.
public CreateAliasRequest withDirectoryId(String directoryId)
The identifier of the directory to create the alias for.
directoryId - The identifier of the directory to create the alias for.public void setAlias(String alias)
The requested alias.
The alias must be unique amongst all aliases in AWS. This operation will
throw an EntityAlreadyExistsException if this alias already
exists.
alias - The requested alias.
The alias must be unique amongst all aliases in AWS. This
operation will throw an EntityAlreadyExistsException
if this alias already exists.
public String getAlias()
The requested alias.
The alias must be unique amongst all aliases in AWS. This operation will
throw an EntityAlreadyExistsException if this alias already
exists.
The alias must be unique amongst all aliases in AWS. This
operation will throw an EntityAlreadyExistsException
if this alias already exists.
public CreateAliasRequest withAlias(String alias)
The requested alias.
The alias must be unique amongst all aliases in AWS. This operation will
throw an EntityAlreadyExistsException if this alias already
exists.
alias - The requested alias.
The alias must be unique amongst all aliases in AWS. This
operation will throw an EntityAlreadyExistsException
if this alias already exists.
public String toString()
toString in class ObjectObject.toString()public CreateAliasRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.