Struct aws_sdk_lambda::model::function_code::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FunctionCode
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn zip_file(self, input: Blob) -> Self
pub fn zip_file(self, input: Blob) -> Self
The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.
sourcepub fn set_zip_file(self, input: Option<Blob>) -> Self
pub fn set_zip_file(self, input: Option<Blob>) -> Self
The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
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.
sourcepub fn s3_key(self, input: impl Into<String>) -> Self
pub fn s3_key(self, input: impl Into<String>) -> Self
The Amazon S3 key of the deployment package.
sourcepub fn set_s3_key(self, input: Option<String>) -> Self
pub fn set_s3_key(self, input: Option<String>) -> Self
The Amazon S3 key of the deployment package.
sourcepub fn s3_object_version(self, input: impl Into<String>) -> Self
pub fn s3_object_version(self, input: impl Into<String>) -> Self
For versioned objects, the version of the deployment package object to use.
sourcepub fn set_s3_object_version(self, input: Option<String>) -> Self
pub fn set_s3_object_version(self, input: Option<String>) -> Self
For versioned objects, the version of the deployment package object to use.
sourcepub fn image_uri(self, input: impl Into<String>) -> Self
pub fn image_uri(self, input: impl Into<String>) -> Self
URI of a container image in the Amazon ECR registry.
sourcepub fn set_image_uri(self, input: Option<String>) -> Self
pub fn set_image_uri(self, input: Option<String>) -> Self
URI of a container image in the Amazon ECR registry.
sourcepub fn build(self) -> FunctionCode
pub fn build(self) -> FunctionCode
Consumes the builder and constructs a FunctionCode
.