Struct aws_sdk_lambda::types::builders::FunctionCodeBuilder
source · #[non_exhaustive]pub struct FunctionCodeBuilder { /* private fields */ }
Expand description
A builder for FunctionCode
.
Implementations§
source§impl FunctionCodeBuilder
impl FunctionCodeBuilder
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 get_zip_file(&self) -> &Option<Blob>
pub fn get_zip_file(&self) -> &Option<Blob>
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 get_s3_bucket(&self) -> &Option<String>
pub fn get_s3_bucket(&self) -> &Option<String>
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 get_s3_key(&self) -> &Option<String>
pub fn get_s3_key(&self) -> &Option<String>
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 get_s3_object_version(&self) -> &Option<String>
pub fn get_s3_object_version(&self) -> &Option<String>
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 get_image_uri(&self) -> &Option<String>
pub fn get_image_uri(&self) -> &Option<String>
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
.
Trait Implementations§
source§impl Clone for FunctionCodeBuilder
impl Clone for FunctionCodeBuilder
source§fn clone(&self) -> FunctionCodeBuilder
fn clone(&self) -> FunctionCodeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FunctionCodeBuilder
impl Debug for FunctionCodeBuilder
source§impl Default for FunctionCodeBuilder
impl Default for FunctionCodeBuilder
source§fn default() -> FunctionCodeBuilder
fn default() -> FunctionCodeBuilder
source§impl PartialEq for FunctionCodeBuilder
impl PartialEq for FunctionCodeBuilder
source§fn eq(&self, other: &FunctionCodeBuilder) -> bool
fn eq(&self, other: &FunctionCodeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.