Interface CreateFleetLocationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFleetLocationsRequest.Builder,
,CreateFleetLocationsRequest> GameLiftRequest.Builder
,SdkBuilder<CreateFleetLocationsRequest.Builder,
,CreateFleetLocationsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFleetLocationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier for the fleet to add locations to.locations
(Collection<LocationConfiguration> locations) A list of locations to deploy additional instances to and manage as part of the fleet.locations
(Consumer<LocationConfiguration.Builder>... locations) A list of locations to deploy additional instances to and manage as part of the fleet.locations
(LocationConfiguration... locations) A list of locations to deploy additional instances to and manage as part of the fleet.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fleetId
A unique identifier for the fleet to add locations to. You can use either the fleet ID or ARN value.
- Parameters:
fleetId
- A unique identifier for the fleet to add locations to. You can use either the fleet ID or ARN value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locations
A list of locations to deploy additional instances to and manage as part of the fleet. You can add any Amazon GameLift-supported Amazon Web Services Region as a remote location, in the form of an Amazon Web Services Region code such as
us-west-2
.- Parameters:
locations
- A list of locations to deploy additional instances to and manage as part of the fleet. You can add any Amazon GameLift-supported Amazon Web Services Region as a remote location, in the form of an Amazon Web Services Region code such asus-west-2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locations
A list of locations to deploy additional instances to and manage as part of the fleet. You can add any Amazon GameLift-supported Amazon Web Services Region as a remote location, in the form of an Amazon Web Services Region code such as
us-west-2
.- Parameters:
locations
- A list of locations to deploy additional instances to and manage as part of the fleet. You can add any Amazon GameLift-supported Amazon Web Services Region as a remote location, in the form of an Amazon Web Services Region code such asus-west-2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locations
A list of locations to deploy additional instances to and manage as part of the fleet. You can add any Amazon GameLift-supported Amazon Web Services Region as a remote location, in the form of an Amazon Web Services Region code such as
This is a convenience method that creates an instance of theus-west-2
.LocationConfiguration.Builder
avoiding the need to create one manually viaLocationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocations(List<LocationConfiguration>)
.- Parameters:
locations
- a consumer that will call methods onLocationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateFleetLocationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFleetLocationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-