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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaLocationConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-