@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAliasResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the results of the CreateAlias operation.
Constructor and Description |
---|
CreateAliasResult() |
Modifier and Type | Method and Description |
---|---|
CreateAliasResult |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
The alias for the directory.
|
String |
getDirectoryId()
The identifier of the directory.
|
int |
hashCode() |
void |
setAlias(String alias)
The alias for the directory.
|
void |
setDirectoryId(String directoryId)
The identifier of the directory.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateAliasResult |
withAlias(String alias)
The alias for the directory.
|
CreateAliasResult |
withDirectoryId(String directoryId)
The identifier of the directory.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDirectoryId(String directoryId)
The identifier of the directory.
directoryId
- The identifier of the directory.public String getDirectoryId()
The identifier of the directory.
public CreateAliasResult withDirectoryId(String directoryId)
The identifier of the directory.
directoryId
- The identifier of the directory.public void setAlias(String alias)
The alias for the directory.
alias
- The alias for the directory.public String getAlias()
The alias for the directory.
public CreateAliasResult withAlias(String alias)
The alias for the directory.
alias
- The alias for the directory.public String toString()
toString
in class Object
Object.toString()
public CreateAliasResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.