Interface CreateFleetLocationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateFleetLocationsResponse.Builder,
,CreateFleetLocationsResponse> GameLiftResponse.Builder
,SdkBuilder<CreateFleetLocationsResponse.Builder,
,CreateFleetLocationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateFleetLocationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it.A unique identifier for the fleet that was updated with new locations.locationStates
(Collection<LocationState> locationStates) The remote locations that are being added to the fleet, and the life-cycle status of each location.locationStates
(Consumer<LocationState.Builder>... locationStates) The remote locations that are being added to the fleet, and the life-cycle status of each location.locationStates
(LocationState... locationStates) The remote locations that are being added to the fleet, and the life-cycle status of each location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
fleetId
A unique identifier for the fleet that was updated with new locations.
- Parameters:
fleetId
- A unique identifier for the fleet that was updated with new locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
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 isarn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationStates
CreateFleetLocationsResponse.Builder locationStates(Consumer<LocationState.Builder>... 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 to
This is a convenience method that creates an instance of theNEW
. 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.LocationState.Builder
avoiding the need to create one manually viaLocationState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocationStates(List<LocationState>)
.- Parameters:
locationStates
- a consumer that will call methods onLocationState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-