Interface CreateRuntimeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRuntimeRequest.Builder,,CreateRuntimeRequest> LambdaCoreRequest.Builder,SdkBuilder<CreateRuntimeRequest.Builder,,CreateRuntimeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRuntimeRequest
@Mutable
@NotThreadSafe
public static interface CreateRuntimeRequest.Builder
extends LambdaCoreRequest.Builder, SdkPojo, CopyableBuilder<CreateRuntimeRequest.Builder,CreateRuntimeRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the runtime.licenseInfo(String licenseInfo) The license information for the runtime.The name of the runtime to create.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateRuntimeRequest.BuilderreleaseLifecycle(Consumer<RuntimeReleaseLifecycle.Builder> releaseLifecycle) The runtime lifecycle for the runtime (optional).releaseLifecycle(RuntimeReleaseLifecycle releaseLifecycle) The runtime lifecycle for the runtime (optional).A map of tag keys and values to associate with the runtime.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
-
name
The name of the runtime to create.
- Parameters:
name- The name of the runtime to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of tag keys and values to associate with the runtime.
- Parameters:
tags- A map of tag keys and values to associate with the runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the runtime.
- Parameters:
description- A description of the runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseInfo
The license information for the runtime.
- Parameters:
licenseInfo- The 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). Use this to schedule runtime deprecation.
- Parameters:
releaseLifecycle- The runtime lifecycle for the runtime (optional). Use this to schedule runtime deprecation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseLifecycle
default CreateRuntimeRequest.Builder releaseLifecycle(Consumer<RuntimeReleaseLifecycle.Builder> releaseLifecycle) The runtime lifecycle for the runtime (optional). Use this to schedule runtime deprecation.
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
CreateRuntimeRequest.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
CreateRuntimeRequest.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.
-