public static interface PublishVersionResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<PublishVersionResponse.Builder,PublishVersionResponse>
Modifier and Type | Method and Description |
---|---|
PublishVersionResponse.Builder |
codeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
|
PublishVersionResponse.Builder |
codeSize(Long codeSize)
The size of the function's deployment package in bytes.
|
default PublishVersionResponse.Builder |
deadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)
The function's dead letter queue.
|
PublishVersionResponse.Builder |
deadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
|
PublishVersionResponse.Builder |
description(String description)
The function's description.
|
default PublishVersionResponse.Builder |
environment(Consumer<EnvironmentResponse.Builder> environment)
The function's environment variables.
|
PublishVersionResponse.Builder |
environment(EnvironmentResponse environment)
The function's environment variables.
|
PublishVersionResponse.Builder |
functionArn(String functionArn)
The function's Amazon Resource Name.
|
PublishVersionResponse.Builder |
functionName(String functionName)
The name of the function.
|
PublishVersionResponse.Builder |
handler(String handler)
The function Lambda calls to begin executing your function.
|
PublishVersionResponse.Builder |
kmsKeyArn(String kmsKeyArn)
The KMS key used to encrypt the function's environment variables.
|
PublishVersionResponse.Builder |
lastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
|
PublishVersionResponse.Builder |
layers(Collection<Layer> layers)
A list of function
layers.
|
PublishVersionResponse.Builder |
layers(Consumer<Layer.Builder>... layers)
A list of function
layers.
|
PublishVersionResponse.Builder |
layers(Layer... layers)
A list of function
layers.
|
PublishVersionResponse.Builder |
masterArn(String masterArn)
The ARN of the master function.
|
PublishVersionResponse.Builder |
memorySize(Integer memorySize)
The memory allocated to the function
|
PublishVersionResponse.Builder |
revisionId(String revisionId)
Represents the latest updated revision of the function or alias.
|
PublishVersionResponse.Builder |
role(String role)
The function's execution role.
|
PublishVersionResponse.Builder |
runtime(Runtime runtime)
The runtime environment for the Lambda function.
|
PublishVersionResponse.Builder |
runtime(String runtime)
The runtime environment for the Lambda function.
|
PublishVersionResponse.Builder |
timeout(Integer timeout)
The amount of time that Lambda allows a function to run before terminating it.
|
default PublishVersionResponse.Builder |
tracingConfig(Consumer<TracingConfigResponse.Builder> tracingConfig)
The function's AWS X-Ray tracing configuration.
|
PublishVersionResponse.Builder |
tracingConfig(TracingConfigResponse tracingConfig)
The function's AWS X-Ray tracing configuration.
|
PublishVersionResponse.Builder |
version(String version)
The version of the Lambda function.
|
default PublishVersionResponse.Builder |
vpcConfig(Consumer<VpcConfigResponse.Builder> vpcConfig)
The function's networking configuration.
|
PublishVersionResponse.Builder |
vpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
PublishVersionResponse.Builder functionName(String functionName)
The name of the function.
functionName
- The name of the function.PublishVersionResponse.Builder functionArn(String functionArn)
The function's Amazon Resource Name.
functionArn
- The function's Amazon Resource Name.PublishVersionResponse.Builder runtime(String runtime)
The runtime environment for the Lambda function.
PublishVersionResponse.Builder runtime(Runtime runtime)
The runtime environment for the Lambda function.
PublishVersionResponse.Builder role(String role)
The function's execution role.
role
- The function's execution role.PublishVersionResponse.Builder handler(String handler)
The function Lambda calls to begin executing your function.
handler
- The function Lambda calls to begin executing your function.PublishVersionResponse.Builder codeSize(Long codeSize)
The size of the function's deployment package in bytes.
codeSize
- The size of the function's deployment package in bytes.PublishVersionResponse.Builder description(String description)
The function's description.
description
- The function's description.PublishVersionResponse.Builder timeout(Integer timeout)
The amount of time that Lambda allows a function to run before terminating it.
timeout
- The amount of time that Lambda allows a function to run before terminating it.PublishVersionResponse.Builder memorySize(Integer memorySize)
The memory allocated to the function
memorySize
- The memory allocated to the functionPublishVersionResponse.Builder lastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
lastModified
- The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).PublishVersionResponse.Builder codeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
codeSha256
- The SHA256 hash of the function's deployment package.PublishVersionResponse.Builder version(String version)
The version of the Lambda function.
version
- The version of the Lambda function.PublishVersionResponse.Builder vpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
vpcConfig
- The function's networking configuration.default PublishVersionResponse.Builder vpcConfig(Consumer<VpcConfigResponse.Builder> vpcConfig)
The function's networking configuration.
This is a convenience that creates an instance of theVpcConfigResponse.Builder
avoiding the need to
create one manually via VpcConfigResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to vpcConfig(VpcConfigResponse)
.vpcConfig
- a consumer that will call methods on VpcConfigResponse.Builder
vpcConfig(VpcConfigResponse)
PublishVersionResponse.Builder deadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
deadLetterConfig
- The function's dead letter queue.default PublishVersionResponse.Builder deadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)
The function's dead letter queue.
This is a convenience that creates an instance of theDeadLetterConfig.Builder
avoiding the need to
create one manually via DeadLetterConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to deadLetterConfig(DeadLetterConfig)
.deadLetterConfig
- a consumer that will call methods on DeadLetterConfig.Builder
deadLetterConfig(DeadLetterConfig)
PublishVersionResponse.Builder environment(EnvironmentResponse environment)
The function's environment variables.
environment
- The function's environment variables.default PublishVersionResponse.Builder environment(Consumer<EnvironmentResponse.Builder> environment)
The function's environment variables.
This is a convenience that creates an instance of theEnvironmentResponse.Builder
avoiding the need
to create one manually via EnvironmentResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to environment(EnvironmentResponse)
.environment
- a consumer that will call methods on EnvironmentResponse.Builder
environment(EnvironmentResponse)
PublishVersionResponse.Builder kmsKeyArn(String kmsKeyArn)
The KMS key used to encrypt the function's environment variables. Only returned if you've configured a customer managed CMK.
kmsKeyArn
- The KMS key used to encrypt the function's environment variables. Only returned if you've configured a
customer managed CMK.PublishVersionResponse.Builder tracingConfig(TracingConfigResponse tracingConfig)
The function's AWS X-Ray tracing configuration.
tracingConfig
- The function's AWS X-Ray tracing configuration.default PublishVersionResponse.Builder tracingConfig(Consumer<TracingConfigResponse.Builder> tracingConfig)
The function's AWS X-Ray tracing configuration.
This is a convenience that creates an instance of theTracingConfigResponse.Builder
avoiding the need
to create one manually via TracingConfigResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to tracingConfig(TracingConfigResponse)
.tracingConfig
- a consumer that will call methods on TracingConfigResponse.Builder
tracingConfig(TracingConfigResponse)
PublishVersionResponse.Builder masterArn(String masterArn)
The ARN of the master function.
masterArn
- The ARN of the master function.PublishVersionResponse.Builder revisionId(String revisionId)
Represents the latest updated revision of the function or alias.
revisionId
- Represents the latest updated revision of the function or alias.PublishVersionResponse.Builder layers(Collection<Layer> layers)
A list of function layers.
layers
- A list of function
layers.PublishVersionResponse.Builder layers(Layer... layers)
A list of function layers.
layers
- A list of function
layers.PublishVersionResponse.Builder layers(Consumer<Layer.Builder>... layers)
A list of function layers.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #layers(List)
.layers
- a consumer that will call methods on List.Builder
#layers(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.