public static interface GetFunctionConfigurationResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<GetFunctionConfigurationResponse.Builder,GetFunctionConfigurationResponse>
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetFunctionConfigurationResponse.Builder functionName(String functionName)
The name of the function.
functionName
- The name of the function.GetFunctionConfigurationResponse.Builder functionArn(String functionArn)
The function's Amazon Resource Name (ARN).
functionArn
- The function's Amazon Resource Name (ARN).GetFunctionConfigurationResponse.Builder runtime(String runtime)
The runtime environment for the Lambda function.
GetFunctionConfigurationResponse.Builder runtime(Runtime runtime)
The runtime environment for the Lambda function.
GetFunctionConfigurationResponse.Builder role(String role)
The function's execution role.
role
- The function's execution role.GetFunctionConfigurationResponse.Builder handler(String handler)
The function that Lambda calls to begin running your function.
handler
- The function that Lambda calls to begin running your function.GetFunctionConfigurationResponse.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.GetFunctionConfigurationResponse.Builder description(String description)
The function's description.
description
- The function's description.GetFunctionConfigurationResponse.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.GetFunctionConfigurationResponse.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.GetFunctionConfigurationResponse.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).GetFunctionConfigurationResponse.Builder codeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
codeSha256
- The SHA256 hash of the function's deployment package.GetFunctionConfigurationResponse.Builder version(String version)
The version of the Lambda function.
version
- The version of the Lambda function.GetFunctionConfigurationResponse.Builder vpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
vpcConfig
- The function's networking configuration.default GetFunctionConfigurationResponse.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)
GetFunctionConfigurationResponse.Builder deadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
deadLetterConfig
- The function's dead letter queue.default GetFunctionConfigurationResponse.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)
GetFunctionConfigurationResponse.Builder environment(EnvironmentResponse environment)
The function's environment variables. Omitted from CloudTrail logs.
environment
- The function's environment
variables. Omitted from CloudTrail logs.default GetFunctionConfigurationResponse.Builder environment(Consumer<EnvironmentResponse.Builder> environment)
The function's environment variables. Omitted from CloudTrail logs.
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)
GetFunctionConfigurationResponse.Builder kmsKeyArn(String kmsKeyArn)
The KMS key that's used to encrypt the function's environment variables. This key is returned only 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 returned only if
you've configured a customer managed key.GetFunctionConfigurationResponse.Builder tracingConfig(TracingConfigResponse tracingConfig)
The function's X-Ray tracing configuration.
tracingConfig
- The function's X-Ray tracing configuration.default GetFunctionConfigurationResponse.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)
GetFunctionConfigurationResponse.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.GetFunctionConfigurationResponse.Builder revisionId(String revisionId)
The latest updated revision of the function or alias.
revisionId
- The latest updated revision of the function or alias.GetFunctionConfigurationResponse.Builder layers(Collection<Layer> layers)
The function's layers.
layers
- The function's layers.GetFunctionConfigurationResponse.Builder layers(Layer... layers)
The function's layers.
layers
- The function's layers.GetFunctionConfigurationResponse.Builder layers(Consumer<Layer.Builder>... layers)
The function's layers.
This is a convenience method that creates an instance of theLayer.Builder
avoiding the need to create one manually
via Layer.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to #layers(List
.
layers
- a consumer that will call methods on
Layer.Builder
#layers(java.util.Collection)
GetFunctionConfigurationResponse.Builder state(String state)
The current state of the function. When the state is Inactive
, you can reactivate the function
by invoking it.
GetFunctionConfigurationResponse.Builder state(State state)
The current state of the function. When the state is Inactive
, you can reactivate the function
by invoking it.
GetFunctionConfigurationResponse.Builder stateReason(String stateReason)
The reason for the function's current state.
stateReason
- The reason for the function's current state.GetFunctionConfigurationResponse.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
GetFunctionConfigurationResponse.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
GetFunctionConfigurationResponse.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
GetFunctionConfigurationResponse.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
GetFunctionConfigurationResponse.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.GetFunctionConfigurationResponse.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
GetFunctionConfigurationResponse.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
GetFunctionConfigurationResponse.Builder fileSystemConfigs(Collection<FileSystemConfig> fileSystemConfigs)
Connection settings for an Amazon EFS file system.
fileSystemConfigs
- Connection settings for an Amazon EFS file
system.GetFunctionConfigurationResponse.Builder fileSystemConfigs(FileSystemConfig... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
fileSystemConfigs
- Connection settings for an Amazon EFS file
system.GetFunctionConfigurationResponse.Builder fileSystemConfigs(Consumer<FileSystemConfig.Builder>... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
This is a convenience method that creates an instance of theFileSystemConfig.Builder
avoiding the need to create one
manually via FileSystemConfig.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately
and its result is passed to #fileSystemConfigs(List
.
fileSystemConfigs
- a consumer that will call methods on
FileSystemConfig.Builder
#fileSystemConfigs(java.util.Collection)
GetFunctionConfigurationResponse.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
GetFunctionConfigurationResponse.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
GetFunctionConfigurationResponse.Builder imageConfigResponse(ImageConfigResponse imageConfigResponse)
The function's image configuration values.
imageConfigResponse
- The function's image configuration values.default GetFunctionConfigurationResponse.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)
GetFunctionConfigurationResponse.Builder signingProfileVersionArn(String signingProfileVersionArn)
The ARN of the signing profile version.
signingProfileVersionArn
- The ARN of the signing profile version.GetFunctionConfigurationResponse.Builder signingJobArn(String signingJobArn)
The ARN of the signing job.
signingJobArn
- The ARN of the signing job.GetFunctionConfigurationResponse.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
.GetFunctionConfigurationResponse.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
.GetFunctionConfigurationResponse.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
.GetFunctionConfigurationResponse.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
.GetFunctionConfigurationResponse.Builder ephemeralStorage(EphemeralStorage ephemeralStorage)
The size of the function’s /tmp
directory in MB. The default value is 512, but it can be any
whole number between 512 and 10,240 MB.
ephemeralStorage
- The size of the function’s /tmp
directory in MB. The default value is 512, but it can be
any whole number between 512 and 10,240 MB.default GetFunctionConfigurationResponse.Builder ephemeralStorage(Consumer<EphemeralStorage.Builder> ephemeralStorage)
The size of the function’s /tmp
directory in MB. The default value is 512, but it can be any
whole number between 512 and 10,240 MB.
EphemeralStorage.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)
GetFunctionConfigurationResponse.Builder snapStart(SnapStartResponse snapStart)
Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized execution
environment when you publish a function version. For more information, see Reducing startup time with Lambda
SnapStart.
snapStart
- Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized
execution environment when you publish a function version. For more information, see Reducing startup time with Lambda
SnapStart.default GetFunctionConfigurationResponse.Builder snapStart(Consumer<SnapStartResponse.Builder> snapStart)
Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized execution
environment when you publish a function version. For more information, see Reducing startup time with Lambda
SnapStart.
SnapStartResponse.Builder
avoiding the
need to create one manually via SnapStartResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to snapStart(SnapStartResponse)
.
snapStart
- a consumer that will call methods on SnapStartResponse.Builder
snapStart(SnapStartResponse)
Copyright © 2022. All rights reserved.