@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.
|
CreateAliasResult |
withAlias(String alias)
The alias for the directory.
|
CreateAliasResult |
withDirectoryId(String directoryId)
The identifier of the directory.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 ObjectObject.toString()public CreateAliasResult clone()