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 Alias
clone()
boolean
equals(Object obj)
String
getAliasId()
Unique identifier for a fleet alias.Date
getCreationTime()
Time stamp indicating when this object was created.String
getDescription()
Human-readable description of the alias.Date
getLastUpdatedTime()
Time stamp indicating when this object was last modified.String
getName()
Descriptive label associated with this alias.RoutingStrategy
getRoutingStrategy()
int
hashCode()
void
setAliasId(String aliasId)
Unique identifier for a fleet alias.void
setCreationTime(Date creationTime)
Time stamp indicating when this object was created.void
setDescription(String description)
Human-readable description of the alias.void
setLastUpdatedTime(Date lastUpdatedTime)
Time stamp indicating when this object was last modified.void
setName(String name)
Descriptive label associated with this alias.void
setRoutingStrategy(RoutingStrategy routingStrategy)
String
toString()
Returns a string representation of this object; useful for testing and debugging.Alias
withAliasId(String aliasId)
Unique identifier for a fleet alias.Alias
withCreationTime(Date creationTime)
Time stamp indicating when this object was created.Alias
withDescription(String description)
Human-readable description of the alias.Alias
withLastUpdatedTime(Date lastUpdatedTime)
Time stamp indicating when this object was last modified.Alias
withName(String name)
Descriptive label associated with this alias.Alias
withRoutingStrategy(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-