Interface GetRuntimeAliasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRuntimeAliasResponse.Builder,,GetRuntimeAliasResponse> LambdaCoreResponse.Builder,SdkBuilder<GetRuntimeAliasResponse.Builder,,GetRuntimeAliasResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRuntimeAliasResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the runtime alias.default GetRuntimeAliasResponse.Buildercompatibility(Consumer<Compatibility.Builder> compatibility) The compatibility matrix of the runtime version the alias points to.compatibility(Compatibility compatibility) The compatibility matrix of the runtime version the alias points to.The date and time when the runtime alias was created.description(String description) A description of the runtime alias.lastModified(String lastModified) The date and time when the runtime alias was last modified.The name of the runtime alias.pendingDeletionAt(String pendingDeletionAt) Present only when State is PENDING_DELETION.default GetRuntimeAliasResponse.BuilderreleaseLifecycle(Consumer<RuntimeReleaseLifecycle.Builder> releaseLifecycle) The runtime lifecycle for the alias.releaseLifecycle(RuntimeReleaseLifecycle releaseLifecycle) The runtime lifecycle for the alias.runtimeVersion(String runtimeVersion) The name of the runtime version the alias points to.runtimeVersionArn(String runtimeVersionArn) The Amazon Resource Name (ARN) of the runtime version the alias points to.The current state of the runtime alias.state(RuntimeAliasState state) The current state of the runtime alias.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
-
name
The name of the runtime alias.
- Parameters:
name- The name of the runtime alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the runtime alias.
- Parameters:
arn- The Amazon Resource Name (ARN) of the runtime alias.- 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.
-
runtimeVersionArn
The Amazon Resource Name (ARN) of the runtime version the alias points to.
- Parameters:
runtimeVersionArn- The Amazon Resource Name (ARN) of the runtime version the alias points to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the runtime alias.
- Parameters:
state- The current state of the runtime alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the runtime alias.
- Parameters:
state- The current state of the runtime alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pendingDeletionAt
Present only when State is PENDING_DELETION. The date and time at which the runtime alias will be permanently deleted.
- Parameters:
pendingDeletionAt- Present only when State is PENDING_DELETION. The date and time at which the runtime alias will be permanently deleted.- 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.
-
compatibility
The compatibility matrix of the runtime version the alias points to.
- Parameters:
compatibility- The compatibility matrix of the runtime version the alias points to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibility
default GetRuntimeAliasResponse.Builder compatibility(Consumer<Compatibility.Builder> compatibility) The compatibility matrix of the runtime version the alias points to.
This is a convenience method that creates an instance of theCompatibility.Builderavoiding the need to create one manually viaCompatibility.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompatibility(Compatibility).- Parameters:
compatibility- a consumer that will call methods onCompatibility.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 GetRuntimeAliasResponse.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:
-
created
The date and time when the runtime alias was created.
- Parameters:
created- The date and time when the runtime alias 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 alias was last modified.
- Parameters:
lastModified- The date and time when the runtime alias was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-