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:
  • Constructor Details

    • CreateAliasResult

      public CreateAliasResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateAliasResult clone()
      Overrides:
      clone in class Object