@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 AWS Region code such as
us-west-2 . |
String |
getStatus()
The life-cycle status of a fleet location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLocation(String location)
The fleet location, expressed as an AWS 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 AWS 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 AWS Region code such as us-west-2
.
location
- The fleet location, expressed as an AWS Region code such as us-west-2
.public String getLocation()
The fleet location, expressed as an AWS Region code such as us-west-2
.
us-west-2
.public LocationState withLocation(String location)
The fleet location, expressed as an AWS Region code such as us-west-2
.
location
- The fleet location, expressed as an AWS 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.FleetStatus
public String getStatus()
The life-cycle status of a fleet location.
FleetStatus
public LocationState withStatus(String status)
The life-cycle status of a fleet location.
status
- The life-cycle status of a fleet location.FleetStatus
public LocationState withStatus(FleetStatus status)
The life-cycle status of a fleet location.
status
- The life-cycle status of a fleet location.FleetStatus
public String toString()
toString
in class Object
Object.toString()
public LocationState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.