@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LocationState extends Object implements Serializable, Cloneable, StructuredPojo
A fleet location and its life-cycle state. A location state object might be used to describe a fleet's remote location or home Region. Life-cycle state tracks the progress of launching the first instance in a new location and preparing it for game hosting, and then removing all instances and deleting the location from the fleet.
Related actions
| Constructor and Description |
|---|
LocationState() |
| Modifier and Type | Method and Description |
|---|---|
LocationState |
clone() |
boolean |
equals(Object obj) |
String |
getLocation()
The fleet location, expressed as an Amazon Web Services Region code such as
us-west-2. |
String |
getStatus()
The life-cycle status of a fleet location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setLocation(String location)
The fleet location, expressed as an Amazon Web Services Region code such as
us-west-2. |
void |
setStatus(String status)
The life-cycle status of a fleet location.
|
String |
toString()
Returns a string representation of this object.
|
LocationState |
withLocation(String location)
The fleet location, expressed as an Amazon Web Services Region code such as
us-west-2. |
LocationState |
withStatus(FleetStatus status)
The life-cycle status of a fleet location.
|
LocationState |
withStatus(String status)
The life-cycle status of a fleet location.
|
public void setLocation(String location)
The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.
location - The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.public String getLocation()
The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.
us-west-2.public LocationState withLocation(String location)
The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.
location - The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.public void setStatus(String status)
The life-cycle status of a fleet location.
status - The life-cycle status of a fleet location.FleetStatuspublic String getStatus()
The life-cycle status of a fleet location.
FleetStatuspublic LocationState withStatus(String status)
The life-cycle status of a fleet location.
status - The life-cycle status of a fleet location.FleetStatuspublic LocationState withStatus(FleetStatus status)
The life-cycle status of a fleet location.
status - The life-cycle status of a fleet location.FleetStatuspublic String toString()
toString in class ObjectObject.toString()public LocationState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.