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 fleet computes.runtimeConfiguration(RuntimeConfiguration runtimeConfiguration) Instructions for launching server processes on fleet computes.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, sdkFieldNameToField, 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 fleet computes. Server processes run either a custom game build executable or a Amazon GameLift Servers Realtime script. The runtime configuration lists the types of server processes to run, how to launch them, and the number of processes to run concurrently.
- Parameters:
runtimeConfiguration- Instructions for launching server processes on fleet computes. Server processes run either a custom game build executable or a Amazon GameLift Servers Realtime script. The runtime configuration lists the types of server processes to run, 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 fleet computes. Server processes run either a custom game build executable or a Amazon GameLift Servers Realtime script. The runtime configuration lists the types of server processes to run, how to launch them, and the number of processes to run concurrently.
This is a convenience method that creates an instance of theRuntimeConfiguration.Builderavoiding the need to create one manually viaRuntimeConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-