Interface UpdateRuntimeAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRuntimeAliasRequest.Builder,,UpdateRuntimeAliasRequest> LambdaCoreRequest.Builder,SdkBuilder<UpdateRuntimeAliasRequest.Builder,,UpdateRuntimeAliasRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRuntimeAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the runtime alias.The name of the runtime alias to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.releaseLifecycle(Consumer<RuntimeReleaseLifecycle.Builder> releaseLifecycle) The lifecycle for the alias.releaseLifecycle(RuntimeReleaseLifecycle releaseLifecycle) The lifecycle for the alias.runtimeName(String runtimeName) The name or ARN of the runtime.runtimeVersion(String runtimeVersion) The name of the runtime version the alias should point to.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.
- Parameters:
runtimeName- The name or ARN of the runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the runtime alias to update.
- Parameters:
name- The name of the runtime alias to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeVersion
The name of the runtime version the alias should point to.
- Parameters:
runtimeVersion- The name of the runtime version the alias should point to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the runtime alias.
- Parameters:
description- A description of the runtime alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseLifecycle
The lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required. Omitting or providing an empty object removes the existing lifecycle override.
- Parameters:
releaseLifecycle- The lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required. Omitting or providing an empty object removes the existing lifecycle override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseLifecycle
default UpdateRuntimeAliasRequest.Builder releaseLifecycle(Consumer<RuntimeReleaseLifecycle.Builder> releaseLifecycle) The lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required. Omitting or providing an empty object removes the existing lifecycle override.
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
UpdateRuntimeAliasRequest.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
UpdateRuntimeAliasRequest.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.
-