#[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 ==
.impl StructuralPartialEq for AwsLambdaFunctionCodeBuilder
Auto Trait Implementations§
impl Freeze for AwsLambdaFunctionCodeBuilder
impl RefUnwindSafe for AwsLambdaFunctionCodeBuilder
impl Send for AwsLambdaFunctionCodeBuilder
impl Sync for AwsLambdaFunctionCodeBuilder
impl Unpin for AwsLambdaFunctionCodeBuilder
impl UnwindSafe for AwsLambdaFunctionCodeBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more