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 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, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
public CreateAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.