Class CreateAliasResult
- java.lang.Object
-
- com.amazonaws.services.directory.model.CreateAliasResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateAliasResult extends Object implements Serializable, Cloneable
Contains the results of the CreateAlias operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateAliasResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAliasResultclone()booleanequals(Object obj)StringgetAlias()The alias for the directory.StringgetDirectoryId()The identifier of the directory.inthashCode()voidsetAlias(String alias)The alias for the directory.voidsetDirectoryId(String directoryId)The identifier of the directory.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateAliasResultwithAlias(String alias)The alias for the directory.CreateAliasResultwithDirectoryId(String directoryId)The identifier of the directory.
-
-
-
Method Detail
-
setDirectoryId
public void setDirectoryId(String directoryId)
The identifier of the directory.
- Parameters:
directoryId- The identifier of the directory.
-
getDirectoryId
public String getDirectoryId()
The identifier of the directory.
- Returns:
- The identifier of the directory.
-
withDirectoryId
public CreateAliasResult withDirectoryId(String directoryId)
The identifier of the directory.
- Parameters:
directoryId- The identifier of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAlias
public void setAlias(String alias)
The alias for the directory.
- Parameters:
alias- The alias for the directory.
-
getAlias
public String getAlias()
The alias for the directory.
- Returns:
- The alias for the directory.
-
withAlias
public CreateAliasResult withAlias(String alias)
The alias for the directory.
- Parameters:
alias- The alias for the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateAliasResult clone()
-
-