@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFleetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateFleetResult() |
Modifier and Type | Method and Description |
---|---|
CreateFleetResult |
clone() |
boolean |
equals(Object obj) |
FleetAttributes |
getFleetAttributes()
The properties for the new fleet, including the current status.
|
List<LocationState> |
getLocationStates()
The fleet's locations and life-cycle status of each location.
|
int |
hashCode() |
void |
setFleetAttributes(FleetAttributes fleetAttributes)
The properties for the new fleet, including the current status.
|
void |
setLocationStates(Collection<LocationState> locationStates)
The fleet's locations and life-cycle status of each location.
|
String |
toString()
Returns a string representation of this object.
|
CreateFleetResult |
withFleetAttributes(FleetAttributes fleetAttributes)
The properties for the new fleet, including the current status.
|
CreateFleetResult |
withLocationStates(Collection<LocationState> locationStates)
The fleet's locations and life-cycle status of each location.
|
CreateFleetResult |
withLocationStates(LocationState... locationStates)
The fleet's locations and life-cycle status of each location.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFleetAttributes(FleetAttributes fleetAttributes)
The properties for the new fleet, including the current status. All fleets are placed in NEW
status
on creation.
fleetAttributes
- The properties for the new fleet, including the current status. All fleets are placed in NEW
status on creation.public FleetAttributes getFleetAttributes()
The properties for the new fleet, including the current status. All fleets are placed in NEW
status
on creation.
NEW
status on creation.public CreateFleetResult withFleetAttributes(FleetAttributes fleetAttributes)
The properties for the new fleet, including the current status. All fleets are placed in NEW
status
on creation.
fleetAttributes
- The properties for the new fleet, including the current status. All fleets are placed in NEW
status on creation.public List<LocationState> getLocationStates()
The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations is set
to NEW
. During fleet creation, Amazon GameLift updates each location status as instances are
deployed there and prepared for game hosting. This list includes an entry for the fleet's home Region. For fleets
with no remote locations, only one entry, representing the home Region, is returned.
NEW
. During fleet creation, Amazon GameLift updates each location status as
instances are deployed there and prepared for game hosting. This list includes an entry for the fleet's
home Region. For fleets with no remote locations, only one entry, representing the home Region, is
returned.public void setLocationStates(Collection<LocationState> locationStates)
The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations is set
to NEW
. During fleet creation, Amazon GameLift updates each location status as instances are
deployed there and prepared for game hosting. This list includes an entry for the fleet's home Region. For fleets
with no remote locations, only one entry, representing the home Region, is returned.
locationStates
- The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations
is set to NEW
. During fleet creation, Amazon GameLift updates each location status as
instances are deployed there and prepared for game hosting. This list includes an entry for the fleet's
home Region. For fleets with no remote locations, only one entry, representing the home Region, is
returned.public CreateFleetResult withLocationStates(LocationState... locationStates)
The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations is set
to NEW
. During fleet creation, Amazon GameLift updates each location status as instances are
deployed there and prepared for game hosting. This list includes an entry for the fleet's home Region. For fleets
with no remote locations, only one entry, representing the home Region, is returned.
NOTE: This method appends the values to the existing list (if any). Use
setLocationStates(java.util.Collection)
or withLocationStates(java.util.Collection)
if you want
to override the existing values.
locationStates
- The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations
is set to NEW
. During fleet creation, Amazon GameLift updates each location status as
instances are deployed there and prepared for game hosting. This list includes an entry for the fleet's
home Region. For fleets with no remote locations, only one entry, representing the home Region, is
returned.public CreateFleetResult withLocationStates(Collection<LocationState> locationStates)
The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations is set
to NEW
. During fleet creation, Amazon GameLift updates each location status as instances are
deployed there and prepared for game hosting. This list includes an entry for the fleet's home Region. For fleets
with no remote locations, only one entry, representing the home Region, is returned.
locationStates
- The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations
is set to NEW
. During fleet creation, Amazon GameLift updates each location status as
instances are deployed there and prepared for game hosting. This list includes an entry for the fleet's
home Region. For fleets with no remote locations, only one entry, representing the home Region, is
returned.public String toString()
toString
in class Object
Object.toString()
public CreateFleetResult clone()