Interface FunctionCode.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FunctionCode.Builder,FunctionCode>
,SdkBuilder<FunctionCode.Builder,FunctionCode>
,SdkPojo
- Enclosing class:
- FunctionCode
public static interface FunctionCode.Builder extends SdkPojo, CopyableBuilder<FunctionCode.Builder,FunctionCode>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionCode.Builder
imageUri(String imageUri)
URI of a container image in the Amazon ECR registry.FunctionCode.Builder
s3Bucket(String s3Bucket)
An Amazon S3 bucket in the same Amazon Web Services Region as your function.FunctionCode.Builder
s3Key(String s3Key)
The Amazon S3 key of the deployment package.FunctionCode.Builder
s3ObjectVersion(String s3ObjectVersion)
For versioned objects, the version of the deployment package object to use.FunctionCode.Builder
zipFile(SdkBytes zipFile)
The base64-encoded contents of the deployment package.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
zipFile
FunctionCode.Builder zipFile(SdkBytes 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
FunctionCode.Builder s3Bucket(String 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
FunctionCode.Builder s3Key(String 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
FunctionCode.Builder s3ObjectVersion(String 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.
-
imageUri
FunctionCode.Builder imageUri(String 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.
-
-