public class Alias extends Object implements Serializable, Cloneable
Properties describing a fleet alias.
Constructor and Description |
---|
Alias() |
Modifier and Type | Method and 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) |
public void setAliasId(String aliasId)
Unique identifier for a fleet alias.
aliasId
- Unique identifier for a fleet alias.public String getAliasId()
Unique identifier for a fleet alias.
public Alias withAliasId(String aliasId)
Unique identifier for a fleet alias.
aliasId
- Unique identifier for a fleet alias.public void setName(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 String getName()
Descriptive label associated with this alias. Alias names do not need to be unique.
public Alias withName(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(String description)
Human-readable description of the alias.
description
- Human-readable description of the alias.public String getDescription()
Human-readable description of the alias.
public Alias withDescription(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(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 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(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(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 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(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.