Interface CreateRuntimeAliasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRuntimeAliasResponse.Builder,,CreateRuntimeAliasResponse> LambdaCoreResponse.Builder,SdkBuilder<CreateRuntimeAliasResponse.Builder,,CreateRuntimeAliasResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateRuntimeAliasResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the runtime alias.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.releaseLifecycle(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:
-
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 CreateRuntimeAliasResponse.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.
-