java.lang.Object
com.amazonaws.services.gamelift.model.Alias
All Implemented Interfaces:
Serializable, Cloneable

public class Alias extends Object implements Serializable, Cloneable

Properties describing a fleet alias.

See Also:
  • Constructor Details

    • Alias

      public Alias()
  • Method Details

    • setAliasId

      public void setAliasId(String aliasId)

      Unique identifier for a fleet alias.

      Parameters:
      aliasId - Unique identifier for a fleet alias.
    • getAliasId

      public String getAliasId()

      Unique identifier for a fleet alias.

      Returns:
      Unique identifier for a fleet alias.
    • withAliasId

      public Alias withAliasId(String aliasId)

      Unique identifier for a fleet alias.

      Parameters:
      aliasId - Unique identifier for a fleet alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setName

      public void setName(String name)

      Descriptive label associated with this alias. Alias names do not need to be unique.

      Parameters:
      name - Descriptive label associated with this alias. Alias names do not need to be unique.
    • getName

      public String getName()

      Descriptive label associated with this alias. Alias names do not need to be unique.

      Returns:
      Descriptive label associated with this alias. Alias names do not need to be unique.
    • withName

      public Alias withName(String name)

      Descriptive label associated with this alias. Alias names do not need to be unique.

      Parameters:
      name - Descriptive label associated with this alias. Alias names do not need to be unique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      Human-readable description of the alias.

      Parameters:
      description - Human-readable description of the alias.
    • getDescription

      public String getDescription()

      Human-readable description of the alias.

      Returns:
      Human-readable description of the alias.
    • withDescription

      public Alias withDescription(String description)

      Human-readable description of the alias.

      Parameters:
      description - Human-readable description of the alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRoutingStrategy

      public void setRoutingStrategy(RoutingStrategy routingStrategy)
      Parameters:
      routingStrategy -
    • getRoutingStrategy

      public RoutingStrategy getRoutingStrategy()
      Returns:
    • withRoutingStrategy

      public Alias withRoutingStrategy(RoutingStrategy routingStrategy)
      Parameters:
      routingStrategy -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCreationTime

      public void setCreationTime(Date creationTime)

      Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).

      Parameters:
      creationTime - Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
    • getCreationTime

      public Date getCreationTime()

      Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).

      Returns:
      Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
    • withCreationTime

      public Alias withCreationTime(Date creationTime)

      Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).

      Parameters:
      creationTime - Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLastUpdatedTime

      public void setLastUpdatedTime(Date lastUpdatedTime)

      Time stamp indicating when this object was last modified. Format is an integer representing the number of seconds since the Unix epoch (Unix time).

      Parameters:
      lastUpdatedTime - Time stamp indicating when this object was last modified. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
    • getLastUpdatedTime

      public Date getLastUpdatedTime()

      Time stamp indicating when this object was last modified. Format is an integer representing the number of seconds since the Unix epoch (Unix time).

      Returns:
      Time stamp indicating when this object was last modified. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
    • withLastUpdatedTime

      public Alias withLastUpdatedTime(Date lastUpdatedTime)

      Time stamp indicating when this object was last modified. Format is an integer representing the number of seconds since the Unix epoch (Unix time).

      Parameters:
      lastUpdatedTime - Time stamp indicating when this object was last modified. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
      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 Alias clone()
      Overrides:
      clone in class Object