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 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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateAliasResult clone()
-
-