Interface CreateRuntimeVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRuntimeVersionRequest.Builder,,CreateRuntimeVersionRequest> LambdaCoreRequest.Builder,SdkBuilder<CreateRuntimeVersionRequest.Builder,,CreateRuntimeVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRuntimeVersionRequest
@Mutable
@NotThreadSafe
public static interface CreateRuntimeVersionRequest.Builder
extends LambdaCoreRequest.Builder, SdkPojo, CopyableBuilder<CreateRuntimeVersionRequest.Builder,CreateRuntimeVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionWhen set to true, the request is validated without creating a new runtime version.The URI of the container image used to define the function execution environment for this runtime version.The name to assign to the new runtime version.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.releaseNotes(String releaseNotes) The release notes to associate with the runtime version.runtimeName(String runtimeName) The name or ARN of the runtime to create a version for.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 a version for.
- Parameters:
runtimeName- The name or ARN of the runtime to create a version for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageUri
The URI of the container image used to define the function execution environment for this runtime version.
- Parameters:
imageUri- The URI of the container image used to define the function execution environment for this runtime version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name to assign to the new runtime version.
- Parameters:
name- The name to assign to the new runtime version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseNotes
The release notes to associate with the runtime version.
- Parameters:
releaseNotes- The release notes to associate with the runtime version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
When set to true, the request is validated without creating a new runtime version. Use this to check that the request would succeed. No runtime version is created and no changes are made.
- Parameters:
dryRun- When set to true, the request is validated without creating a new runtime version. Use this to check that the request would succeed. No runtime version is created and no changes are made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRuntimeVersionRequest.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
CreateRuntimeVersionRequest.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.
-