* A unique identifier for the fleet that was updated with new locations. *
*/ private String fleetId; /** *
* The Amazon Resource Name (ARN)
* that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all
* Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
* .
*
* The remote locations that are being added to the fleet, and the life-cycle status of each location. For new
* locations, the status is set to NEW
. During location creation, Amazon GameLift updates each
* location's status as instances are deployed there and prepared for game hosting. This list does not include the
* fleet home Region or any remote locations that were already added to the fleet.
*
* A unique identifier for the fleet that was updated with new locations. *
* * @param fleetId * A unique identifier for the fleet that was updated with new locations. */ public void setFleetId(String fleetId) { this.fleetId = fleetId; } /** ** A unique identifier for the fleet that was updated with new locations. *
* * @return A unique identifier for the fleet that was updated with new locations. */ public String getFleetId() { return this.fleetId; } /** ** A unique identifier for the fleet that was updated with new locations. *
* * @param fleetId * A unique identifier for the fleet that was updated with new locations. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFleetLocationsResult withFleetId(String fleetId) { setFleetId(fleetId); return this; } /** *
* The Amazon Resource Name (ARN)
* that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all
* Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
* .
*
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
*/
public void setFleetArn(String fleetArn) {
this.fleetArn = fleetArn;
}
/**
*
* The Amazon Resource Name (ARN)
* that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all
* Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
* .
*
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
*/
public String getFleetArn() {
return this.fleetArn;
}
/**
*
* The Amazon Resource Name (ARN)
* that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all
* Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
* .
*
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateFleetLocationsResult withFleetArn(String fleetArn) {
setFleetArn(fleetArn);
return this;
}
/**
*
* The remote locations that are being added to the fleet, and the life-cycle status of each location. For new
* locations, the status is set to NEW
. During location creation, Amazon GameLift updates each
* location's status as instances are deployed there and prepared for game hosting. This list does not include the
* fleet home Region or any remote locations that were already added to the fleet.
*
NEW
. During location creation, Amazon GameLift updates
* each location's status as instances are deployed there and prepared for game hosting. This list does not
* include the fleet home Region or any remote locations that were already added to the fleet.
*/
public java.util.List
* The remote locations that are being added to the fleet, and the life-cycle status of each location. For new
* locations, the status is set to NEW
. During location creation, Amazon GameLift updates each
* location's status as instances are deployed there and prepared for game hosting. This list does not include the
* fleet home Region or any remote locations that were already added to the fleet.
*
NEW
. During location creation, Amazon GameLift updates
* each location's status as instances are deployed there and prepared for game hosting. This list does not
* include the fleet home Region or any remote locations that were already added to the fleet.
*/
public void setLocationStates(java.util.Collection
* The remote locations that are being added to the fleet, and the life-cycle status of each location. For new
* locations, the status is set to NEW
. During location creation, Amazon GameLift updates each
* location's status as instances are deployed there and prepared for game hosting. This list does not include the
* fleet home Region or any remote locations that were already added to the fleet.
*
* 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 remote locations that are being added to the fleet, and the life-cycle status of each location. For * new locations, the status is set toNEW
. During location creation, Amazon GameLift updates
* each location's status as instances are deployed there and prepared for game hosting. This list does not
* include the fleet home Region or any remote locations that were already added to the fleet.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateFleetLocationsResult withLocationStates(LocationState... locationStates) {
if (this.locationStates == null) {
setLocationStates(new java.util.ArrayList
* The remote locations that are being added to the fleet, and the life-cycle status of each location. For new
* locations, the status is set to NEW
. During location creation, Amazon GameLift updates each
* location's status as instances are deployed there and prepared for game hosting. This list does not include the
* fleet home Region or any remote locations that were already added to the fleet.
*
NEW
. During location creation, Amazon GameLift updates
* each location's status as instances are deployed there and prepared for game hosting. This list does not
* include the fleet home Region or any remote locations that were already added to the fleet.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateFleetLocationsResult withLocationStates(java.util.Collection