Interface UpdateRuntimeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRuntimeRequest.Builder,,UpdateRuntimeRequest> LambdaCoreRequest.Builder,SdkBuilder<UpdateRuntimeRequest.Builder,,UpdateRuntimeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRuntimeRequest
@Mutable
@NotThreadSafe
public static interface UpdateRuntimeRequest.Builder
extends LambdaCoreRequest.Builder, SdkPojo, CopyableBuilder<UpdateRuntimeRequest.Builder,UpdateRuntimeRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The updated description of the runtime.licenseInfo(String licenseInfo) The updated license information for the runtime.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateRuntimeRequest.BuilderreleaseLifecycle(Consumer<RuntimeReleaseLifecycle.Builder> releaseLifecycle) The runtime lifecycle for the runtime.releaseLifecycle(RuntimeReleaseLifecycle releaseLifecycle) The runtime lifecycle for the runtime.runtimeName(String runtimeName) The name or ARN of the runtime to update.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.lambdacore.model.LambdaCoreRequest.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
-
runtimeName
The name or ARN of the runtime to update.
- Parameters:
runtimeName- The name or ARN of the runtime to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the runtime.
- Parameters:
description- The updated description of the runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseInfo
The updated license information for the runtime.
- Parameters:
licenseInfo- The updated license information for the runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseLifecycle
The runtime lifecycle for the runtime. Optional. Used to schedule runtime deprecation. Omitting or providing an empty object removes the existing lifecycle.
- Parameters:
releaseLifecycle- The runtime lifecycle for the runtime. Optional. Used to schedule runtime deprecation. Omitting or providing an empty object removes the existing lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseLifecycle
default UpdateRuntimeRequest.Builder releaseLifecycle(Consumer<RuntimeReleaseLifecycle.Builder> releaseLifecycle) The runtime lifecycle for the runtime. Optional. Used to schedule runtime deprecation. Omitting or providing an empty object removes the existing lifecycle.
This is a convenience method that creates an instance of theRuntimeReleaseLifecycle.Builderavoiding the need to create one manually viaRuntimeReleaseLifecycle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreleaseLifecycle(RuntimeReleaseLifecycle).- Parameters:
releaseLifecycle- a consumer that will call methods onRuntimeReleaseLifecycle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateRuntimeRequest.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
UpdateRuntimeRequest.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.
-