public static interface PublishVersionResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<PublishVersionResponse.Builder,PublishVersionResponse>
Modifier and Type | Method and Description |
---|---|
PublishVersionResponse.Builder |
architectures(Architecture... architectures)
The instruction set architecture that the function supports.
|
PublishVersionResponse.Builder |
architectures(Collection<Architecture> architectures)
The instruction set architecture that the function supports.
|
PublishVersionResponse.Builder |
architecturesWithStrings(Collection<String> architectures)
The instruction set architecture that the function supports.
|
PublishVersionResponse.Builder |
architecturesWithStrings(String... architectures)
The instruction set architecture that the function supports.
|
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.
|
default PublishVersionResponse.Builder |
ephemeralStorage(Consumer<EphemeralStorage.Builder> ephemeralStorage)
The size of the function’s /tmp directory in MB.
|
PublishVersionResponse.Builder |
ephemeralStorage(EphemeralStorage ephemeralStorage)
The size of the function’s /tmp directory in MB.
|
PublishVersionResponse.Builder |
fileSystemConfigs(Collection<FileSystemConfig> fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
PublishVersionResponse.Builder |
fileSystemConfigs(Consumer<FileSystemConfig.Builder>... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
PublishVersionResponse.Builder |
fileSystemConfigs(FileSystemConfig... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
PublishVersionResponse.Builder |
functionArn(String functionArn)
The function's Amazon Resource Name (ARN).
|
PublishVersionResponse.Builder |
functionName(String functionName)
The name of the function.
|
PublishVersionResponse.Builder |
handler(String handler)
The function that Lambda calls to begin executing your function.
|
default PublishVersionResponse.Builder |
imageConfigResponse(Consumer<ImageConfigResponse.Builder> imageConfigResponse)
The function's image configuration values.
|
PublishVersionResponse.Builder |
imageConfigResponse(ImageConfigResponse imageConfigResponse)
The function's image configuration values.
|
PublishVersionResponse.Builder |
kmsKeyArn(String kmsKeyArn)
The KMS key that's 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 |
lastUpdateStatus(LastUpdateStatus lastUpdateStatus)
The status of the last update that was performed on the function.
|
PublishVersionResponse.Builder |
lastUpdateStatus(String lastUpdateStatus)
The status of the last update that was performed on the function.
|
PublishVersionResponse.Builder |
lastUpdateStatusReason(String lastUpdateStatusReason)
The reason for the last update that was performed on the function.
|
PublishVersionResponse.Builder |
lastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
|
PublishVersionResponse.Builder |
lastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
|
PublishVersionResponse.Builder |
layers(Collection<Layer> layers)
The function's layers.
|
PublishVersionResponse.Builder |
layers(Consumer<Layer.Builder>... layers)
The function's layers.
|
PublishVersionResponse.Builder |
layers(Layer... layers)
The function's layers.
|
PublishVersionResponse.Builder |
masterArn(String masterArn)
For Lambda@Edge functions, the ARN of the main function.
|
PublishVersionResponse.Builder |
memorySize(Integer memorySize)
The amount of memory available to the function at runtime.
|
PublishVersionResponse.Builder |
packageType(PackageType packageType)
The type of deployment package.
|
PublishVersionResponse.Builder |
packageType(String packageType)
The type of deployment package.
|
PublishVersionResponse.Builder |
revisionId(String revisionId)
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 |
signingJobArn(String signingJobArn)
The ARN of the signing job.
|
PublishVersionResponse.Builder |
signingProfileVersionArn(String signingProfileVersionArn)
The ARN of the signing profile version.
|
PublishVersionResponse.Builder |
state(State state)
The current state of the function.
|
PublishVersionResponse.Builder |
state(String state)
The current state of the function.
|
PublishVersionResponse.Builder |
stateReason(String stateReason)
The reason for the function's current state.
|
PublishVersionResponse.Builder |
stateReasonCode(StateReasonCode stateReasonCode)
The reason code for the function's current state.
|
PublishVersionResponse.Builder |
stateReasonCode(String stateReasonCode)
The reason code for the function's current state.
|
PublishVersionResponse.Builder |
timeout(Integer timeout)
The amount of time in seconds that Lambda allows a function to run before stopping it.
|
default PublishVersionResponse.Builder |
tracingConfig(Consumer<TracingConfigResponse.Builder> tracingConfig)
The function's X-Ray tracing configuration.
|
PublishVersionResponse.Builder |
tracingConfig(TracingConfigResponse tracingConfig)
The function's 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
equalsBySdkFields, sdkFields
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 (ARN).
functionArn
- The function's Amazon Resource Name (ARN).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 that Lambda calls to begin executing your function.
handler
- The function that 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 in seconds that Lambda allows a function to run before stopping it.
timeout
- The amount of time in seconds that Lambda allows a function to run before stopping it.PublishVersionResponse.Builder memorySize(Integer memorySize)
The amount of memory available to the function at runtime.
memorySize
- The amount of memory available to the function at runtime.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).
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 method 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 method 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 method 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 that's used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed key.
kmsKeyArn
- The KMS key that's used to encrypt the function's environment variables. This key is only returned if
you've configured a customer managed key.PublishVersionResponse.Builder tracingConfig(TracingConfigResponse tracingConfig)
The function's X-Ray tracing configuration.
tracingConfig
- The function's X-Ray tracing configuration.default PublishVersionResponse.Builder tracingConfig(Consumer<TracingConfigResponse.Builder> tracingConfig)
The function's X-Ray tracing configuration.
This is a convenience method 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)
For Lambda@Edge functions, the ARN of the main function.
masterArn
- For Lambda@Edge functions, the ARN of the main function.PublishVersionResponse.Builder revisionId(String revisionId)
The latest updated revision of the function or alias.
revisionId
- The latest updated revision of the function or alias.PublishVersionResponse.Builder layers(Collection<Layer> layers)
The function's layers.
layers
- The function's
layers.PublishVersionResponse.Builder layers(Layer... layers)
The function's layers.
layers
- The function's
layers.PublishVersionResponse.Builder layers(Consumer<Layer.Builder>... layers)
The function's layers.
This is a convenience method 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)
PublishVersionResponse.Builder state(String state)
The current state of the function. When the state is Inactive
, you can reactivate the function
by invoking it.
PublishVersionResponse.Builder state(State state)
The current state of the function. When the state is Inactive
, you can reactivate the function
by invoking it.
PublishVersionResponse.Builder stateReason(String stateReason)
The reason for the function's current state.
stateReason
- The reason for the function's current state.PublishVersionResponse.Builder stateReasonCode(String stateReasonCode)
The reason code for the function's current state. When the code is Creating
, you can't invoke or
modify the function.
stateReasonCode
- The reason code for the function's current state. When the code is Creating
, you can't
invoke or modify the function.StateReasonCode
,
StateReasonCode
PublishVersionResponse.Builder stateReasonCode(StateReasonCode stateReasonCode)
The reason code for the function's current state. When the code is Creating
, you can't invoke or
modify the function.
stateReasonCode
- The reason code for the function's current state. When the code is Creating
, you can't
invoke or modify the function.StateReasonCode
,
StateReasonCode
PublishVersionResponse.Builder lastUpdateStatus(String lastUpdateStatus)
The status of the last update that was performed on the function. This is first set to
Successful
after function creation completes.
lastUpdateStatus
- The status of the last update that was performed on the function. This is first set to
Successful
after function creation completes.LastUpdateStatus
,
LastUpdateStatus
PublishVersionResponse.Builder lastUpdateStatus(LastUpdateStatus lastUpdateStatus)
The status of the last update that was performed on the function. This is first set to
Successful
after function creation completes.
lastUpdateStatus
- The status of the last update that was performed on the function. This is first set to
Successful
after function creation completes.LastUpdateStatus
,
LastUpdateStatus
PublishVersionResponse.Builder lastUpdateStatusReason(String lastUpdateStatusReason)
The reason for the last update that was performed on the function.
lastUpdateStatusReason
- The reason for the last update that was performed on the function.PublishVersionResponse.Builder lastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.LastUpdateStatusReasonCode
,
LastUpdateStatusReasonCode
PublishVersionResponse.Builder lastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.LastUpdateStatusReasonCode
,
LastUpdateStatusReasonCode
PublishVersionResponse.Builder fileSystemConfigs(Collection<FileSystemConfig> fileSystemConfigs)
Connection settings for an Amazon EFS file system.
fileSystemConfigs
- Connection settings for an Amazon EFS file
system.PublishVersionResponse.Builder fileSystemConfigs(FileSystemConfig... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
fileSystemConfigs
- Connection settings for an Amazon EFS file
system.PublishVersionResponse.Builder fileSystemConfigs(Consumer<FileSystemConfig.Builder>... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
This is a convenience method 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 #fileSystemConfigs(List)
.fileSystemConfigs
- a consumer that will call methods on List.Builder
#fileSystemConfigs(List)
PublishVersionResponse.Builder packageType(String packageType)
The type of deployment package. Set to Image
for container image and set Zip
for
.zip file archive.
packageType
- The type of deployment package. Set to Image
for container image and set Zip
for .zip file archive.PackageType
,
PackageType
PublishVersionResponse.Builder packageType(PackageType packageType)
The type of deployment package. Set to Image
for container image and set Zip
for
.zip file archive.
packageType
- The type of deployment package. Set to Image
for container image and set Zip
for .zip file archive.PackageType
,
PackageType
PublishVersionResponse.Builder imageConfigResponse(ImageConfigResponse imageConfigResponse)
The function's image configuration values.
imageConfigResponse
- The function's image configuration values.default PublishVersionResponse.Builder imageConfigResponse(Consumer<ImageConfigResponse.Builder> imageConfigResponse)
The function's image configuration values.
This is a convenience method that creates an instance of theImageConfigResponse.Builder
avoiding the
need to create one manually via ImageConfigResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to imageConfigResponse(ImageConfigResponse)
.imageConfigResponse
- a consumer that will call methods on ImageConfigResponse.Builder
imageConfigResponse(ImageConfigResponse)
PublishVersionResponse.Builder signingProfileVersionArn(String signingProfileVersionArn)
The ARN of the signing profile version.
signingProfileVersionArn
- The ARN of the signing profile version.PublishVersionResponse.Builder signingJobArn(String signingJobArn)
The ARN of the signing job.
signingJobArn
- The ARN of the signing job.PublishVersionResponse.Builder architecturesWithStrings(Collection<String> architectures)
The instruction set architecture that the function supports. Architecture is a string array with one of the
valid values. The default architecture value is x86_64
.
architectures
- The instruction set architecture that the function supports. Architecture is a string array with one
of the valid values. The default architecture value is x86_64
.PublishVersionResponse.Builder architecturesWithStrings(String... architectures)
The instruction set architecture that the function supports. Architecture is a string array with one of the
valid values. The default architecture value is x86_64
.
architectures
- The instruction set architecture that the function supports. Architecture is a string array with one
of the valid values. The default architecture value is x86_64
.PublishVersionResponse.Builder architectures(Collection<Architecture> architectures)
The instruction set architecture that the function supports. Architecture is a string array with one of the
valid values. The default architecture value is x86_64
.
architectures
- The instruction set architecture that the function supports. Architecture is a string array with one
of the valid values. The default architecture value is x86_64
.PublishVersionResponse.Builder architectures(Architecture... architectures)
The instruction set architecture that the function supports. Architecture is a string array with one of the
valid values. The default architecture value is x86_64
.
architectures
- The instruction set architecture that the function supports. Architecture is a string array with one
of the valid values. The default architecture value is x86_64
.PublishVersionResponse.Builder ephemeralStorage(EphemeralStorage ephemeralStorage)
The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.
ephemeralStorage
- The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number
between 512 and 10240 MB.default PublishVersionResponse.Builder ephemeralStorage(Consumer<EphemeralStorage.Builder> ephemeralStorage)
The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.
This is a convenience method that creates an instance of theEphemeralStorage.Builder
avoiding the
need to create one manually via EphemeralStorage.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to ephemeralStorage(EphemeralStorage)
.ephemeralStorage
- a consumer that will call methods on EphemeralStorage.Builder
ephemeralStorage(EphemeralStorage)
Copyright © 2022. All rights reserved.