#[non_exhaustive]pub struct LayerVersionContentInputBuilder { /* private fields */ }
Expand description
A builder for LayerVersionContentInput
.
Implementations§
source§impl LayerVersionContentInputBuilder
impl LayerVersionContentInputBuilder
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
The Amazon S3 bucket of the layer archive.
sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The Amazon S3 bucket of the layer archive.
sourcepub fn get_s3_bucket(&self) -> &Option<String>
pub fn get_s3_bucket(&self) -> &Option<String>
The Amazon S3 bucket of the layer archive.
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 layer archive.
sourcepub fn get_s3_key(&self) -> &Option<String>
pub fn get_s3_key(&self) -> &Option<String>
The Amazon S3 key of the layer archive.
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 layer archive 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 layer archive 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 layer archive object to use.
sourcepub fn zip_file(self, input: Blob) -> Self
pub fn zip_file(self, input: Blob) -> Self
The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services 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 layer archive. Amazon Web Services SDK and Amazon Web Services 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 layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
sourcepub fn build(self) -> LayerVersionContentInput
pub fn build(self) -> LayerVersionContentInput
Consumes the builder and constructs a LayerVersionContentInput
.
Trait Implementations§
source§impl Clone for LayerVersionContentInputBuilder
impl Clone for LayerVersionContentInputBuilder
source§fn clone(&self) -> LayerVersionContentInputBuilder
fn clone(&self) -> LayerVersionContentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LayerVersionContentInputBuilder
impl Default for LayerVersionContentInputBuilder
source§fn default() -> LayerVersionContentInputBuilder
fn default() -> LayerVersionContentInputBuilder
source§impl PartialEq for LayerVersionContentInputBuilder
impl PartialEq for LayerVersionContentInputBuilder
source§fn eq(&self, other: &LayerVersionContentInputBuilder) -> bool
fn eq(&self, other: &LayerVersionContentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LayerVersionContentInputBuilder
Auto Trait Implementations§
impl Freeze for LayerVersionContentInputBuilder
impl RefUnwindSafe for LayerVersionContentInputBuilder
impl Send for LayerVersionContentInputBuilder
impl Sync for LayerVersionContentInputBuilder
impl Unpin for LayerVersionContentInputBuilder
impl UnwindSafe for LayerVersionContentInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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