Class Alias
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Alias()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Aliasclone()booleanequals(Object obj)StringgetAliasId()Unique identifier for a fleet alias.DategetCreationTime()Time stamp indicating when this object was created.StringgetDescription()Human-readable description of the alias.DategetLastUpdatedTime()Time stamp indicating when this object was last modified.StringgetName()Descriptive label associated with this alias.RoutingStrategygetRoutingStrategy()inthashCode()voidsetAliasId(String aliasId)Unique identifier for a fleet alias.voidsetCreationTime(Date creationTime)Time stamp indicating when this object was created.voidsetDescription(String description)Human-readable description of the alias.voidsetLastUpdatedTime(Date lastUpdatedTime)Time stamp indicating when this object was last modified.voidsetName(String name)Descriptive label associated with this alias.voidsetRoutingStrategy(RoutingStrategy routingStrategy)StringtoString()Returns a string representation of this object; useful for testing and debugging.AliaswithAliasId(String aliasId)Unique identifier for a fleet alias.AliaswithCreationTime(Date creationTime)Time stamp indicating when this object was created.AliaswithDescription(String description)Human-readable description of the alias.AliaswithLastUpdatedTime(Date lastUpdatedTime)Time stamp indicating when this object was last modified.AliaswithName(String name)Descriptive label associated with this alias.AliaswithRoutingStrategy(RoutingStrategy routingStrategy)
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-