Interface UpdateFunctionCodeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateFunctionCodeResponse.Builder,UpdateFunctionCodeResponse>
,LambdaResponse.Builder
,SdkBuilder<UpdateFunctionCodeResponse.Builder,UpdateFunctionCodeResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- UpdateFunctionCodeResponse
public static interface UpdateFunctionCodeResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<UpdateFunctionCodeResponse.Builder,UpdateFunctionCodeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateFunctionCodeResponse.Builder
architectures(Collection<Architecture> architectures)
The instruction set architecture that the function supports.UpdateFunctionCodeResponse.Builder
architectures(Architecture... architectures)
The instruction set architecture that the function supports.UpdateFunctionCodeResponse.Builder
architecturesWithStrings(String... architectures)
The instruction set architecture that the function supports.UpdateFunctionCodeResponse.Builder
architecturesWithStrings(Collection<String> architectures)
The instruction set architecture that the function supports.UpdateFunctionCodeResponse.Builder
codeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.UpdateFunctionCodeResponse.Builder
codeSize(Long codeSize)
The size of the function's deployment package, in bytes.default UpdateFunctionCodeResponse.Builder
deadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)
The function's dead letter queue.UpdateFunctionCodeResponse.Builder
deadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.UpdateFunctionCodeResponse.Builder
description(String description)
The function's description.default UpdateFunctionCodeResponse.Builder
environment(Consumer<EnvironmentResponse.Builder> environment)
The function's environment variables.UpdateFunctionCodeResponse.Builder
environment(EnvironmentResponse environment)
The function's environment variables.default UpdateFunctionCodeResponse.Builder
ephemeralStorage(Consumer<EphemeralStorage.Builder> ephemeralStorage)
The size of the function's/tmp
directory in MB.UpdateFunctionCodeResponse.Builder
ephemeralStorage(EphemeralStorage ephemeralStorage)
The size of the function's/tmp
directory in MB.UpdateFunctionCodeResponse.Builder
fileSystemConfigs(Collection<FileSystemConfig> fileSystemConfigs)
Connection settings for an Amazon EFS file system.UpdateFunctionCodeResponse.Builder
fileSystemConfigs(Consumer<FileSystemConfig.Builder>... fileSystemConfigs)
Connection settings for an Amazon EFS file system.UpdateFunctionCodeResponse.Builder
fileSystemConfigs(FileSystemConfig... fileSystemConfigs)
Connection settings for an Amazon EFS file system.UpdateFunctionCodeResponse.Builder
functionArn(String functionArn)
The function's Amazon Resource Name (ARN).UpdateFunctionCodeResponse.Builder
functionName(String functionName)
The name of the function.UpdateFunctionCodeResponse.Builder
handler(String handler)
The function that Lambda calls to begin running your function.default UpdateFunctionCodeResponse.Builder
imageConfigResponse(Consumer<ImageConfigResponse.Builder> imageConfigResponse)
The function's image configuration values.UpdateFunctionCodeResponse.Builder
imageConfigResponse(ImageConfigResponse imageConfigResponse)
The function's image configuration values.UpdateFunctionCodeResponse.Builder
kmsKeyArn(String kmsKeyArn)
The KMS key that's used to encrypt the function's environment variables.UpdateFunctionCodeResponse.Builder
lastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).UpdateFunctionCodeResponse.Builder
lastUpdateStatus(String lastUpdateStatus)
The status of the last update that was performed on the function.UpdateFunctionCodeResponse.Builder
lastUpdateStatus(LastUpdateStatus lastUpdateStatus)
The status of the last update that was performed on the function.UpdateFunctionCodeResponse.Builder
lastUpdateStatusReason(String lastUpdateStatusReason)
The reason for the last update that was performed on the function.UpdateFunctionCodeResponse.Builder
lastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.UpdateFunctionCodeResponse.Builder
lastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.UpdateFunctionCodeResponse.Builder
layers(Collection<Layer> layers)
The function's layers.UpdateFunctionCodeResponse.Builder
layers(Consumer<Layer.Builder>... layers)
The function's layers.UpdateFunctionCodeResponse.Builder
layers(Layer... layers)
The function's layers.default UpdateFunctionCodeResponse.Builder
loggingConfig(Consumer<LoggingConfig.Builder> loggingConfig)
The function's Amazon CloudWatch Logs configuration settings.UpdateFunctionCodeResponse.Builder
loggingConfig(LoggingConfig loggingConfig)
The function's Amazon CloudWatch Logs configuration settings.UpdateFunctionCodeResponse.Builder
masterArn(String masterArn)
For Lambda@Edge functions, the ARN of the main function.UpdateFunctionCodeResponse.Builder
memorySize(Integer memorySize)
The amount of memory available to the function at runtime.UpdateFunctionCodeResponse.Builder
packageType(String packageType)
The type of deployment package.UpdateFunctionCodeResponse.Builder
packageType(PackageType packageType)
The type of deployment package.UpdateFunctionCodeResponse.Builder
revisionId(String revisionId)
The latest updated revision of the function or alias.UpdateFunctionCodeResponse.Builder
role(String role)
The function's execution role.UpdateFunctionCodeResponse.Builder
runtime(String runtime)
The identifier of the function's runtime.UpdateFunctionCodeResponse.Builder
runtime(Runtime runtime)
The identifier of the function's runtime.default UpdateFunctionCodeResponse.Builder
runtimeVersionConfig(Consumer<RuntimeVersionConfig.Builder> runtimeVersionConfig)
The ARN of the runtime and any errors that occured.UpdateFunctionCodeResponse.Builder
runtimeVersionConfig(RuntimeVersionConfig runtimeVersionConfig)
The ARN of the runtime and any errors that occured.UpdateFunctionCodeResponse.Builder
signingJobArn(String signingJobArn)
The ARN of the signing job.UpdateFunctionCodeResponse.Builder
signingProfileVersionArn(String signingProfileVersionArn)
The ARN of the signing profile version.default UpdateFunctionCodeResponse.Builder
snapStart(Consumer<SnapStartResponse.Builder> snapStart)
SetApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.UpdateFunctionCodeResponse.Builder
snapStart(SnapStartResponse snapStart)
SetApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.UpdateFunctionCodeResponse.Builder
state(String state)
The current state of the function.UpdateFunctionCodeResponse.Builder
state(State state)
The current state of the function.UpdateFunctionCodeResponse.Builder
stateReason(String stateReason)
The reason for the function's current state.UpdateFunctionCodeResponse.Builder
stateReasonCode(String stateReasonCode)
The reason code for the function's current state.UpdateFunctionCodeResponse.Builder
stateReasonCode(StateReasonCode stateReasonCode)
The reason code for the function's current state.UpdateFunctionCodeResponse.Builder
timeout(Integer timeout)
The amount of time in seconds that Lambda allows a function to run before stopping it.default UpdateFunctionCodeResponse.Builder
tracingConfig(Consumer<TracingConfigResponse.Builder> tracingConfig)
The function's X-Ray tracing configuration.UpdateFunctionCodeResponse.Builder
tracingConfig(TracingConfigResponse tracingConfig)
The function's X-Ray tracing configuration.UpdateFunctionCodeResponse.Builder
version(String version)
The version of the Lambda function.default UpdateFunctionCodeResponse.Builder
vpcConfig(Consumer<VpcConfigResponse.Builder> vpcConfig)
The function's networking configuration.UpdateFunctionCodeResponse.Builder
vpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
functionName
UpdateFunctionCodeResponse.Builder functionName(String functionName)
The name of the function.
- Parameters:
functionName
- The name of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionArn
UpdateFunctionCodeResponse.Builder functionArn(String functionArn)
The function's Amazon Resource Name (ARN).
- Parameters:
functionArn
- The function's Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtime
UpdateFunctionCodeResponse.Builder runtime(String runtime)
The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image.
The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Parameters:
runtime
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image.The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Runtime
,Runtime
-
runtime
UpdateFunctionCodeResponse.Builder runtime(Runtime runtime)
The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image.
The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Parameters:
runtime
- The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image.The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Runtime
,Runtime
-
role
UpdateFunctionCodeResponse.Builder role(String role)
The function's execution role.
- Parameters:
role
- The function's execution role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
handler
UpdateFunctionCodeResponse.Builder handler(String handler)
The function that Lambda calls to begin running your function.
- Parameters:
handler
- The function that Lambda calls to begin running your function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeSize
UpdateFunctionCodeResponse.Builder codeSize(Long codeSize)
The size of the function's deployment package, in bytes.
- Parameters:
codeSize
- The size of the function's deployment package, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateFunctionCodeResponse.Builder description(String description)
The function's description.
- Parameters:
description
- The function's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
UpdateFunctionCodeResponse.Builder timeout(Integer timeout)
The amount of time in seconds that Lambda allows a function to run before stopping it.
- Parameters:
timeout
- The amount of time in seconds that Lambda allows a function to run before stopping it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memorySize
UpdateFunctionCodeResponse.Builder memorySize(Integer memorySize)
The amount of memory available to the function at runtime.
- Parameters:
memorySize
- The amount of memory available to the function at runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModified
UpdateFunctionCodeResponse.Builder lastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Parameters:
lastModified
- The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeSha256
UpdateFunctionCodeResponse.Builder codeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
- Parameters:
codeSha256
- The SHA256 hash of the function's deployment package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
UpdateFunctionCodeResponse.Builder version(String version)
The version of the Lambda function.
- Parameters:
version
- The version of the Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
UpdateFunctionCodeResponse.Builder vpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
- Parameters:
vpcConfig
- The function's networking configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default UpdateFunctionCodeResponse.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 viaVpcConfigResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VpcConfigResponse)
.- Parameters:
vpcConfig
- a consumer that will call methods onVpcConfigResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfig(VpcConfigResponse)
-
deadLetterConfig
UpdateFunctionCodeResponse.Builder deadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
- Parameters:
deadLetterConfig
- The function's dead letter queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterConfig
default UpdateFunctionCodeResponse.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 viaDeadLetterConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeadLetterConfig(DeadLetterConfig)
.- Parameters:
deadLetterConfig
- a consumer that will call methods onDeadLetterConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deadLetterConfig(DeadLetterConfig)
-
environment
UpdateFunctionCodeResponse.Builder environment(EnvironmentResponse environment)
The function's environment variables. Omitted from CloudTrail logs.
- Parameters:
environment
- The function's environment variables. Omitted from CloudTrail logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
default UpdateFunctionCodeResponse.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 viaEnvironmentResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvironment(EnvironmentResponse)
.- Parameters:
environment
- a consumer that will call methods onEnvironmentResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
environment(EnvironmentResponse)
-
kmsKeyArn
UpdateFunctionCodeResponse.Builder kmsKeyArn(String kmsKeyArn)
The KMS key that's used to encrypt the function's environment variables. When Lambda SnapStart is activated, this key is also used to encrypt the function's snapshot. This key is returned only if you've configured a customer managed key.
- Parameters:
kmsKeyArn
- The KMS key that's used to encrypt the function's environment variables. When Lambda SnapStart is activated, this key is also used to encrypt the function's snapshot. This key is returned only if you've configured a customer managed key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tracingConfig
UpdateFunctionCodeResponse.Builder tracingConfig(TracingConfigResponse tracingConfig)
The function's X-Ray tracing configuration.
- Parameters:
tracingConfig
- The function's X-Ray tracing configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tracingConfig
default UpdateFunctionCodeResponse.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 viaTracingConfigResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totracingConfig(TracingConfigResponse)
.- Parameters:
tracingConfig
- a consumer that will call methods onTracingConfigResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tracingConfig(TracingConfigResponse)
-
masterArn
UpdateFunctionCodeResponse.Builder masterArn(String masterArn)
For Lambda@Edge functions, the ARN of the main function.
- Parameters:
masterArn
- For Lambda@Edge functions, the ARN of the main function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
UpdateFunctionCodeResponse.Builder revisionId(String revisionId)
The latest updated revision of the function or alias.
- Parameters:
revisionId
- The latest updated revision of the function or alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layers
UpdateFunctionCodeResponse.Builder layers(Collection<Layer> layers)
The function's layers.
- Parameters:
layers
- The function's layers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layers
UpdateFunctionCodeResponse.Builder layers(Layer... layers)
The function's layers.
- Parameters:
layers
- The function's layers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layers
UpdateFunctionCodeResponse.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 viaLayer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#layers(List
.) - Parameters:
layers
- a consumer that will call methods onLayer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#layers(java.util.Collection
)
-
state
UpdateFunctionCodeResponse.Builder state(String state)
The current state of the function. When the state is
Inactive
, you can reactivate the function by invoking it.
-
state
UpdateFunctionCodeResponse.Builder state(State state)
The current state of the function. When the state is
Inactive
, you can reactivate the function by invoking it.
-
stateReason
UpdateFunctionCodeResponse.Builder stateReason(String stateReason)
The reason for the function's current state.
- Parameters:
stateReason
- The reason for the function's current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReasonCode
UpdateFunctionCodeResponse.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.- Parameters:
stateReasonCode
- The reason code for the function's current state. When the code isCreating
, you can't invoke or modify the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StateReasonCode
,StateReasonCode
-
stateReasonCode
UpdateFunctionCodeResponse.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.- Parameters:
stateReasonCode
- The reason code for the function's current state. When the code isCreating
, you can't invoke or modify the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StateReasonCode
,StateReasonCode
-
lastUpdateStatus
UpdateFunctionCodeResponse.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.- Parameters:
lastUpdateStatus
- The status of the last update that was performed on the function. This is first set toSuccessful
after function creation completes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LastUpdateStatus
,LastUpdateStatus
-
lastUpdateStatus
UpdateFunctionCodeResponse.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.- Parameters:
lastUpdateStatus
- The status of the last update that was performed on the function. This is first set toSuccessful
after function creation completes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LastUpdateStatus
,LastUpdateStatus
-
lastUpdateStatusReason
UpdateFunctionCodeResponse.Builder lastUpdateStatusReason(String lastUpdateStatusReason)
The reason for the last update that was performed on the function.
- Parameters:
lastUpdateStatusReason
- The reason for the last update that was performed on the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateStatusReasonCode
UpdateFunctionCodeResponse.Builder lastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
- Parameters:
lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LastUpdateStatusReasonCode
,LastUpdateStatusReasonCode
-
lastUpdateStatusReasonCode
UpdateFunctionCodeResponse.Builder lastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
- Parameters:
lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LastUpdateStatusReasonCode
,LastUpdateStatusReasonCode
-
fileSystemConfigs
UpdateFunctionCodeResponse.Builder fileSystemConfigs(Collection<FileSystemConfig> fileSystemConfigs)
Connection settings for an Amazon EFS file system.
- Parameters:
fileSystemConfigs
- Connection settings for an Amazon EFS file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemConfigs
UpdateFunctionCodeResponse.Builder fileSystemConfigs(FileSystemConfig... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
- Parameters:
fileSystemConfigs
- Connection settings for an Amazon EFS file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemConfigs
UpdateFunctionCodeResponse.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 viaFileSystemConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#fileSystemConfigs(List
.) - Parameters:
fileSystemConfigs
- a consumer that will call methods onFileSystemConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fileSystemConfigs(java.util.Collection
)
-
packageType
UpdateFunctionCodeResponse.Builder packageType(String packageType)
The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive.- Parameters:
packageType
- The type of deployment package. Set toImage
for container image and setZip
for .zip file archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageType
,PackageType
-
packageType
UpdateFunctionCodeResponse.Builder packageType(PackageType packageType)
The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive.- Parameters:
packageType
- The type of deployment package. Set toImage
for container image and setZip
for .zip file archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageType
,PackageType
-
imageConfigResponse
UpdateFunctionCodeResponse.Builder imageConfigResponse(ImageConfigResponse imageConfigResponse)
The function's image configuration values.
- Parameters:
imageConfigResponse
- The function's image configuration values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageConfigResponse
default UpdateFunctionCodeResponse.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 viaImageConfigResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageConfigResponse(ImageConfigResponse)
.- Parameters:
imageConfigResponse
- a consumer that will call methods onImageConfigResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
imageConfigResponse(ImageConfigResponse)
-
signingProfileVersionArn
UpdateFunctionCodeResponse.Builder signingProfileVersionArn(String signingProfileVersionArn)
The ARN of the signing profile version.
- Parameters:
signingProfileVersionArn
- The ARN of the signing profile version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signingJobArn
UpdateFunctionCodeResponse.Builder signingJobArn(String signingJobArn)
The ARN of the signing job.
- Parameters:
signingJobArn
- The ARN of the signing job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecturesWithStrings
UpdateFunctionCodeResponse.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
.- Parameters:
architectures
- The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value isx86_64
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecturesWithStrings
UpdateFunctionCodeResponse.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
.- Parameters:
architectures
- The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value isx86_64
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architectures
UpdateFunctionCodeResponse.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
.- Parameters:
architectures
- The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value isx86_64
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architectures
UpdateFunctionCodeResponse.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
.- Parameters:
architectures
- The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value isx86_64
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ephemeralStorage
UpdateFunctionCodeResponse.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 10,240 MB. For more information, see Configuring ephemeral storage (console).- Parameters:
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 10,240 MB. For more information, see Configuring ephemeral storage (console).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ephemeralStorage
default UpdateFunctionCodeResponse.Builder ephemeralStorage(Consumer<EphemeralStorage.Builder> ephemeralStorage)
The size of the function's
This is a convenience method that creates an instance of the/tmp
directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).EphemeralStorage.Builder
avoiding the need to create one manually viaEphemeralStorage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toephemeralStorage(EphemeralStorage)
.- Parameters:
ephemeralStorage
- a consumer that will call methods onEphemeralStorage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ephemeralStorage(EphemeralStorage)
-
snapStart
UpdateFunctionCodeResponse.Builder snapStart(SnapStartResponse snapStart)
Set
ApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Improving startup performance with Lambda SnapStart.- Parameters:
snapStart
- SetApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Improving startup performance with Lambda SnapStart.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapStart
default UpdateFunctionCodeResponse.Builder snapStart(Consumer<SnapStartResponse.Builder> snapStart)
Set
This is a convenience method that creates an instance of theApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Improving startup performance with Lambda SnapStart.SnapStartResponse.Builder
avoiding the need to create one manually viaSnapStartResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnapStart(SnapStartResponse)
.- Parameters:
snapStart
- a consumer that will call methods onSnapStartResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
snapStart(SnapStartResponse)
-
runtimeVersionConfig
UpdateFunctionCodeResponse.Builder runtimeVersionConfig(RuntimeVersionConfig runtimeVersionConfig)
The ARN of the runtime and any errors that occured.
- Parameters:
runtimeVersionConfig
- The ARN of the runtime and any errors that occured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeVersionConfig
default UpdateFunctionCodeResponse.Builder runtimeVersionConfig(Consumer<RuntimeVersionConfig.Builder> runtimeVersionConfig)
The ARN of the runtime and any errors that occured.
This is a convenience method that creates an instance of theRuntimeVersionConfig.Builder
avoiding the need to create one manually viaRuntimeVersionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruntimeVersionConfig(RuntimeVersionConfig)
.- Parameters:
runtimeVersionConfig
- a consumer that will call methods onRuntimeVersionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
runtimeVersionConfig(RuntimeVersionConfig)
-
loggingConfig
UpdateFunctionCodeResponse.Builder loggingConfig(LoggingConfig loggingConfig)
The function's Amazon CloudWatch Logs configuration settings.
- Parameters:
loggingConfig
- The function's Amazon CloudWatch Logs configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfig
default UpdateFunctionCodeResponse.Builder loggingConfig(Consumer<LoggingConfig.Builder> loggingConfig)
The function's Amazon CloudWatch Logs configuration settings.
This is a convenience method that creates an instance of theLoggingConfig.Builder
avoiding the need to create one manually viaLoggingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologgingConfig(LoggingConfig)
.- Parameters:
loggingConfig
- a consumer that will call methods onLoggingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
loggingConfig(LoggingConfig)
-
-