#[non_exhaustive]pub struct AwsLambdaFunctionCodeBuilder { /* private fields */ }
Expand description
A builder for AwsLambdaFunctionCode
.
Implementations§
source§impl AwsLambdaFunctionCodeBuilder
impl AwsLambdaFunctionCodeBuilder
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 zip_file(self, input: impl Into<String>) -> Self
pub fn zip_file(self, input: impl Into<String>) -> Self
The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
sourcepub fn set_zip_file(self, input: Option<String>) -> Self
pub fn set_zip_file(self, input: Option<String>) -> Self
The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
sourcepub fn get_zip_file(&self) -> &Option<String>
pub fn get_zip_file(&self) -> &Option<String>
The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
sourcepub fn build(self) -> AwsLambdaFunctionCode
pub fn build(self) -> AwsLambdaFunctionCode
Consumes the builder and constructs a AwsLambdaFunctionCode
.
Trait Implementations§
source§impl Clone for AwsLambdaFunctionCodeBuilder
impl Clone for AwsLambdaFunctionCodeBuilder
source§fn clone(&self) -> AwsLambdaFunctionCodeBuilder
fn clone(&self) -> AwsLambdaFunctionCodeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsLambdaFunctionCodeBuilder
impl Debug for AwsLambdaFunctionCodeBuilder
source§impl Default for AwsLambdaFunctionCodeBuilder
impl Default for AwsLambdaFunctionCodeBuilder
source§fn default() -> AwsLambdaFunctionCodeBuilder
fn default() -> AwsLambdaFunctionCodeBuilder
source§impl PartialEq for AwsLambdaFunctionCodeBuilder
impl PartialEq for AwsLambdaFunctionCodeBuilder
source§fn eq(&self, other: &AwsLambdaFunctionCodeBuilder) -> bool
fn eq(&self, other: &AwsLambdaFunctionCodeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.