Interface CreateRuntimeAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRuntimeAliasRequest.Builder,,CreateRuntimeAliasRequest> LambdaCoreRequest.Builder,SdkBuilder<CreateRuntimeAliasRequest.Builder,,CreateRuntimeAliasRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRuntimeAliasRequest
@Mutable
@NotThreadSafe
public static interface CreateRuntimeAliasRequest.Builder
extends LambdaCoreRequest.Builder, SdkPojo, CopyableBuilder<CreateRuntimeAliasRequest.Builder,CreateRuntimeAliasRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the runtime alias.The name to assign to the new runtime alias.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 runtime lifecycle for the alias.releaseLifecycle(RuntimeReleaseLifecycle releaseLifecycle) The runtime lifecycle for the alias.runtimeName(String runtimeName) The name or ARN of the runtime to create an alias for.runtimeVersion(String runtimeVersion) The name of the runtime version the alias points 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 to create an alias for.
- Parameters:
runtimeName- The name or ARN of the runtime to create an alias for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeVersion
The name of the runtime version the alias points to.
- Parameters:
runtimeVersion- The name of the runtime version the alias points to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name to assign to the new runtime alias.
- Parameters:
name- The name to assign to the new runtime alias.- 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 runtime 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.
- Parameters:
releaseLifecycle- The runtime 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseLifecycle
default CreateRuntimeAliasRequest.Builder releaseLifecycle(Consumer<RuntimeReleaseLifecycle.Builder> releaseLifecycle) The runtime 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.
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
CreateRuntimeAliasRequest.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
CreateRuntimeAliasRequest.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.
-