Interface CreateRuntimeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRuntimeResponse.Builder,,CreateRuntimeResponse> LambdaCoreResponse.Builder,SdkBuilder<CreateRuntimeResponse.Builder,,CreateRuntimeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateRuntimeResponse
@Mutable
@NotThreadSafe
public static interface CreateRuntimeResponse.Builder
extends LambdaCoreResponse.Builder, SdkPojo, CopyableBuilder<CreateRuntimeResponse.Builder,CreateRuntimeResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the runtime.The date and time when the runtime was created.description(String description) The description of the runtime.lastModified(String lastModified) The date and time when the runtime was last modified.licenseInfo(String licenseInfo) The license information for the runtime.The name of the runtime.default CreateRuntimeResponse.BuilderreleaseLifecycle(Consumer<RuntimeReleaseLifecycle.Builder> releaseLifecycle) The runtime lifecycle for the runtime.releaseLifecycle(RuntimeReleaseLifecycle releaseLifecycle) The runtime lifecycle for the runtime.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambdacore.model.LambdaCoreResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the runtime.
- Parameters:
arn- The Amazon Resource Name (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.
- Parameters:
name- The name of the runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the runtime.
- Parameters:
description- The 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. Used to schedule runtime deprecation.
- Parameters:
releaseLifecycle- The runtime lifecycle for the runtime. Used to schedule runtime deprecation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseLifecycle
default CreateRuntimeResponse.Builder releaseLifecycle(Consumer<RuntimeReleaseLifecycle.Builder> releaseLifecycle) The runtime lifecycle for the runtime. Used 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:
-
created
The date and time when the runtime was created.
- Parameters:
created- The date and time when the runtime was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModified
The date and time when the runtime was last modified.
- Parameters:
lastModified- The date and time when the runtime was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-