Interface UpdateRuntimeConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateRuntimeConfigurationRequest.Builder,
,UpdateRuntimeConfigurationRequest> GameLiftRequest.Builder
,SdkBuilder<UpdateRuntimeConfigurationRequest.Builder,
,UpdateRuntimeConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateRuntimeConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier for the fleet to update runtime configuration for.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.runtimeConfiguration
(Consumer<RuntimeConfiguration.Builder> runtimeConfiguration) Instructions for launching server processes on each instance in the fleet.runtimeConfiguration
(RuntimeConfiguration runtimeConfiguration) Instructions for launching server processes on each instance in the fleet.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 update runtime configuration for. You can use either the fleet ID or ARN value.
- Parameters:
fleetId
- A unique identifier for the fleet to update runtime configuration for. 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.
-
runtimeConfiguration
UpdateRuntimeConfigurationRequest.Builder runtimeConfiguration(RuntimeConfiguration runtimeConfiguration) Instructions for launching server processes on each instance in the fleet. Server processes run either a custom game build executable or a Realtime Servers script. The runtime configuration lists the types of server processes to run on an instance, how to launch them, and the number of processes to run concurrently.
- Parameters:
runtimeConfiguration
- Instructions for launching server processes on each instance in the fleet. Server processes run either a custom game build executable or a Realtime Servers script. The runtime configuration lists the types of server processes to run on an instance, how to launch them, and the number of processes to run concurrently.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeConfiguration
default UpdateRuntimeConfigurationRequest.Builder runtimeConfiguration(Consumer<RuntimeConfiguration.Builder> runtimeConfiguration) Instructions for launching server processes on each instance in the fleet. Server processes run either a custom game build executable or a Realtime Servers script. The runtime configuration lists the types of server processes to run on an instance, how to launch them, and the number of processes to run concurrently.
This is a convenience method that creates an instance of theRuntimeConfiguration.Builder
avoiding the need to create one manually viaRuntimeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruntimeConfiguration(RuntimeConfiguration)
.- Parameters:
runtimeConfiguration
- a consumer that will call methods onRuntimeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateRuntimeConfigurationRequest.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
UpdateRuntimeConfigurationRequest.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.
-