Interface CreateFleetLocationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateFleetLocationsResponse.Builder,CreateFleetLocationsResponse>,GameLiftResponse.Builder,SdkBuilder<CreateFleetLocationsResponse.Builder,CreateFleetLocationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateFleetLocationsResponse
public static interface CreateFleetLocationsResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<CreateFleetLocationsResponse.Builder,CreateFleetLocationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateFleetLocationsResponse.BuilderfleetArn(String fleetArn)The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it.CreateFleetLocationsResponse.BuilderfleetId(String fleetId)A unique identifier for the fleet that was updated with new locations.CreateFleetLocationsResponse.BuilderlocationStates(Collection<LocationState> locationStates)The remote locations that are being added to the fleet, and the life-cycle status of each location.CreateFleetLocationsResponse.BuilderlocationStates(Consumer<LocationState.Builder>... locationStates)The remote locations that are being added to the fleet, and the life-cycle status of each location.CreateFleetLocationsResponse.BuilderlocationStates(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 Detail
-
fleetId
CreateFleetLocationsResponse.Builder fleetId(String 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
CreateFleetLocationsResponse.Builder fleetArn(String 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
CreateFleetLocationsResponse.Builder locationStates(Collection<LocationState> 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(LocationState... 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.Builderavoiding the need to create one manually viaLocationState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#locationStates(List.) - 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:
#locationStates(java.util.Collection)
-
-