@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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, withSdkRequestTimeout
public 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 Object
Object.toString()
public CreateAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.