Interface FunctionCode.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FunctionCode.Builder,,FunctionCode> SdkBuilder<FunctionCode.Builder,,FunctionCode> SdkPojo
- Enclosing class:
FunctionCode
-
Method Summary
Modifier and TypeMethodDescriptionURI of a container image in the Amazon ECR registry.An Amazon S3 bucket in the same Amazon Web Services Region as your function.The Amazon S3 key of the deployment package.s3ObjectStorageMode(String s3ObjectStorageMode) Specifies how the deployment package is stored.s3ObjectStorageMode(S3ObjectStorageMode s3ObjectStorageMode) Specifies how the deployment package is stored.s3ObjectVersion(String s3ObjectVersion) For versioned objects, the version of the deployment package object to use.sourceKMSKeyArn(String sourceKMSKeyArn) The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package.The base64-encoded contents of the deployment package.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
zipFile
The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.
- Parameters:
zipFile- The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Bucket
An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.
- Parameters:
s3Bucket- An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Key
The Amazon S3 key of the deployment package.
- Parameters:
s3Key- The Amazon S3 key of the deployment package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ObjectVersion
For versioned objects, the version of the deployment package object to use.
- Parameters:
s3ObjectVersion- For versioned objects, the version of the deployment package object to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ObjectStorageMode
Specifies how the deployment package is stored. Use
COPY(default) to upload a copy of your deployment package to Lambda. UseREFERENCEto have Lambda reference the deployment package from the specified Amazon S3 bucket.- Parameters:
s3ObjectStorageMode- Specifies how the deployment package is stored. UseCOPY(default) to upload a copy of your deployment package to Lambda. UseREFERENCEto have Lambda reference the deployment package from the specified Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3ObjectStorageMode
Specifies how the deployment package is stored. Use
COPY(default) to upload a copy of your deployment package to Lambda. UseREFERENCEto have Lambda reference the deployment package from the specified Amazon S3 bucket.- Parameters:
s3ObjectStorageMode- Specifies how the deployment package is stored. UseCOPY(default) to upload a copy of your deployment package to Lambda. UseREFERENCEto have Lambda reference the deployment package from the specified Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageUri
URI of a container image in the Amazon ECR registry.
- Parameters:
imageUri- URI of a container image in the Amazon ECR registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceKMSKeyArn
The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key.
- Parameters:
sourceKMSKeyArn- The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-