@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LocationAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Details about a location in a multi-location fleet.
| Constructor and Description |
|---|
LocationAttributes() |
| Modifier and Type | Method and Description |
|---|---|
LocationAttributes |
clone() |
boolean |
equals(Object obj) |
LocationState |
getLocationState()
A fleet location and its current life-cycle state.
|
List<String> |
getStoppedActions()
A list of fleet actions that have been suspended in the fleet location.
|
String |
getUpdateStatus()
The status of fleet activity updates to the location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLocationState(LocationState locationState)
A fleet location and its current life-cycle state.
|
void |
setStoppedActions(Collection<String> stoppedActions)
A list of fleet actions that have been suspended in the fleet location.
|
void |
setUpdateStatus(String updateStatus)
The status of fleet activity updates to the location.
|
String |
toString()
Returns a string representation of this object.
|
LocationAttributes |
withLocationState(LocationState locationState)
A fleet location and its current life-cycle state.
|
LocationAttributes |
withStoppedActions(Collection<String> stoppedActions)
A list of fleet actions that have been suspended in the fleet location.
|
LocationAttributes |
withStoppedActions(FleetAction... stoppedActions)
A list of fleet actions that have been suspended in the fleet location.
|
LocationAttributes |
withStoppedActions(String... stoppedActions)
A list of fleet actions that have been suspended in the fleet location.
|
LocationAttributes |
withUpdateStatus(LocationUpdateStatus updateStatus)
The status of fleet activity updates to the location.
|
LocationAttributes |
withUpdateStatus(String updateStatus)
The status of fleet activity updates to the location.
|
public void setLocationState(LocationState locationState)
A fleet location and its current life-cycle state.
locationState - A fleet location and its current life-cycle state.public LocationState getLocationState()
A fleet location and its current life-cycle state.
public LocationAttributes withLocationState(LocationState locationState)
A fleet location and its current life-cycle state.
locationState - A fleet location and its current life-cycle state.public List<String> getStoppedActions()
A list of fleet actions that have been suspended in the fleet location.
FleetActionpublic void setStoppedActions(Collection<String> stoppedActions)
A list of fleet actions that have been suspended in the fleet location.
stoppedActions - A list of fleet actions that have been suspended in the fleet location.FleetActionpublic LocationAttributes withStoppedActions(String... stoppedActions)
A list of fleet actions that have been suspended in the fleet location.
NOTE: This method appends the values to the existing list (if any). Use
setStoppedActions(java.util.Collection) or withStoppedActions(java.util.Collection) if you want
to override the existing values.
stoppedActions - A list of fleet actions that have been suspended in the fleet location.FleetActionpublic LocationAttributes withStoppedActions(Collection<String> stoppedActions)
A list of fleet actions that have been suspended in the fleet location.
stoppedActions - A list of fleet actions that have been suspended in the fleet location.FleetActionpublic LocationAttributes withStoppedActions(FleetAction... stoppedActions)
A list of fleet actions that have been suspended in the fleet location.
stoppedActions - A list of fleet actions that have been suspended in the fleet location.FleetActionpublic void setUpdateStatus(String updateStatus)
The status of fleet activity updates to the location. The status PENDING_UPDATE indicates that
StopFleetActions or StartFleetActions has been requested but the update has not yet
been completed for the location.
updateStatus - The status of fleet activity updates to the location. The status PENDING_UPDATE indicates
that StopFleetActions or StartFleetActions has been requested but the update has
not yet been completed for the location.LocationUpdateStatuspublic String getUpdateStatus()
The status of fleet activity updates to the location. The status PENDING_UPDATE indicates that
StopFleetActions or StartFleetActions has been requested but the update has not yet
been completed for the location.
PENDING_UPDATE indicates
that StopFleetActions or StartFleetActions has been requested but the update
has not yet been completed for the location.LocationUpdateStatuspublic LocationAttributes withUpdateStatus(String updateStatus)
The status of fleet activity updates to the location. The status PENDING_UPDATE indicates that
StopFleetActions or StartFleetActions has been requested but the update has not yet
been completed for the location.
updateStatus - The status of fleet activity updates to the location. The status PENDING_UPDATE indicates
that StopFleetActions or StartFleetActions has been requested but the update has
not yet been completed for the location.LocationUpdateStatuspublic LocationAttributes withUpdateStatus(LocationUpdateStatus updateStatus)
The status of fleet activity updates to the location. The status PENDING_UPDATE indicates that
StopFleetActions or StartFleetActions has been requested but the update has not yet
been completed for the location.
updateStatus - The status of fleet activity updates to the location. The status PENDING_UPDATE indicates
that StopFleetActions or StartFleetActions has been requested but the update has
not yet been completed for the location.LocationUpdateStatuspublic String toString()
toString in class ObjectObject.toString()public LocationAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.