public class Alias
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Properties describing a fleet alias.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
aliasId
Unique identifier for a fleet alias.
|
private java.util.Date |
creationTime
Time stamp indicating when this object was created.
|
private java.lang.String |
description
Human-readable description of the alias.
|
private java.util.Date |
lastUpdatedTime
Time stamp indicating when this object was last modified.
|
private java.lang.String |
name
Descriptive label associated with this alias.
|
private RoutingStrategy |
routingStrategy |
Constructor and Description |
---|
Alias() |
Modifier and Type | Method and Description |
---|---|
Alias |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAliasId()
Unique identifier for a fleet alias.
|
java.util.Date |
getCreationTime()
Time stamp indicating when this object was created.
|
java.lang.String |
getDescription()
Human-readable description of the alias.
|
java.util.Date |
getLastUpdatedTime()
Time stamp indicating when this object was last modified.
|
java.lang.String |
getName()
Descriptive label associated with this alias.
|
RoutingStrategy |
getRoutingStrategy() |
int |
hashCode() |
void |
setAliasId(java.lang.String aliasId)
Unique identifier for a fleet alias.
|
void |
setCreationTime(java.util.Date creationTime)
Time stamp indicating when this object was created.
|
void |
setDescription(java.lang.String description)
Human-readable description of the alias.
|
void |
setLastUpdatedTime(java.util.Date lastUpdatedTime)
Time stamp indicating when this object was last modified.
|
void |
setName(java.lang.String name)
Descriptive label associated with this alias.
|
void |
setRoutingStrategy(RoutingStrategy routingStrategy) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Alias |
withAliasId(java.lang.String aliasId)
Unique identifier for a fleet alias.
|
Alias |
withCreationTime(java.util.Date creationTime)
Time stamp indicating when this object was created.
|
Alias |
withDescription(java.lang.String description)
Human-readable description of the alias.
|
Alias |
withLastUpdatedTime(java.util.Date lastUpdatedTime)
Time stamp indicating when this object was last modified.
|
Alias |
withName(java.lang.String name)
Descriptive label associated with this alias.
|
Alias |
withRoutingStrategy(RoutingStrategy routingStrategy) |
private java.lang.String aliasId
Unique identifier for a fleet alias.
private java.lang.String name
Descriptive label associated with this alias. Alias names do not need to be unique.
private java.lang.String description
Human-readable description of the alias.
private RoutingStrategy routingStrategy
private java.util.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).
private java.util.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).
public void setAliasId(java.lang.String aliasId)
Unique identifier for a fleet alias.
aliasId
- Unique identifier for a fleet alias.public java.lang.String getAliasId()
Unique identifier for a fleet alias.
public Alias withAliasId(java.lang.String aliasId)
Unique identifier for a fleet alias.
aliasId
- Unique identifier for a fleet alias.public void setName(java.lang.String name)
Descriptive label associated with this alias. Alias names do not need to be unique.
name
- Descriptive label associated with this alias. Alias names do not
need to be unique.public java.lang.String getName()
Descriptive label associated with this alias. Alias names do not need to be unique.
public Alias withName(java.lang.String name)
Descriptive label associated with this alias. Alias names do not need to be unique.
name
- Descriptive label associated with this alias. Alias names do not
need to be unique.public void setDescription(java.lang.String description)
Human-readable description of the alias.
description
- Human-readable description of the alias.public java.lang.String getDescription()
Human-readable description of the alias.
public Alias withDescription(java.lang.String description)
Human-readable description of the alias.
description
- Human-readable description of the alias.public void setRoutingStrategy(RoutingStrategy routingStrategy)
routingStrategy
- public RoutingStrategy getRoutingStrategy()
public Alias withRoutingStrategy(RoutingStrategy routingStrategy)
routingStrategy
- public void setCreationTime(java.util.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).
creationTime
- Time stamp indicating when this object was created. Format is an
integer representing the number of seconds since the Unix epoch
(Unix time).public java.util.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).
public Alias withCreationTime(java.util.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).
creationTime
- Time stamp indicating when this object was created. Format is an
integer representing the number of seconds since the Unix epoch
(Unix time).public void setLastUpdatedTime(java.util.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).
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).public java.util.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).
public Alias withLastUpdatedTime(java.util.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).
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).public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Alias clone()
clone
in class java.lang.Object