* The properties for the new fleet, including the current status. All fleets are placed in NEW
status
* on creation.
*
* 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.
*
* The properties for the new fleet, including the current status. All fleets are placed in NEW
status
* on creation.
*
NEW
* status on creation.
*/
public void setFleetAttributes(FleetAttributes fleetAttributes) {
this.fleetAttributes = fleetAttributes;
}
/**
*
* The properties for the new fleet, including the current status. All fleets are placed in NEW
status
* on creation.
*
NEW
* status on creation.
*/
public FleetAttributes getFleetAttributes() {
return this.fleetAttributes;
}
/**
*
* The properties for the new fleet, including the current status. All fleets are placed in NEW
status
* on creation.
*
NEW
* status on creation.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateFleetResult withFleetAttributes(FleetAttributes fleetAttributes) {
setFleetAttributes(fleetAttributes);
return this;
}
/**
*
* 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 java.util.List
* 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(java.util.Collection
* 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 * {@link #setLocationStates(java.util.Collection)} or {@link #withLocationStates(java.util.Collection)} if you want * to override the existing values. *
* * @param locationStates * The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations * is set toNEW
. 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateFleetResult withLocationStates(LocationState... locationStates) {
if (this.locationStates == null) {
setLocationStates(new java.util.ArrayList
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateFleetResult withLocationStates(java.util.Collection