#[non_exhaustive]pub struct CodeContentUpdateBuilder { /* private fields */ }
Expand description
A builder for CodeContentUpdate
.
Implementations§
source§impl CodeContentUpdateBuilder
impl CodeContentUpdateBuilder
sourcepub fn text_content_update(self, input: impl Into<String>) -> Self
pub fn text_content_update(self, input: impl Into<String>) -> Self
Describes an update to the text code for an application.
sourcepub fn set_text_content_update(self, input: Option<String>) -> Self
pub fn set_text_content_update(self, input: Option<String>) -> Self
Describes an update to the text code for an application.
sourcepub fn get_text_content_update(&self) -> &Option<String>
pub fn get_text_content_update(&self) -> &Option<String>
Describes an update to the text code for an application.
sourcepub fn zip_file_content_update(self, input: Blob) -> Self
pub fn zip_file_content_update(self, input: Blob) -> Self
Describes an update to the zipped code for an application.
sourcepub fn set_zip_file_content_update(self, input: Option<Blob>) -> Self
pub fn set_zip_file_content_update(self, input: Option<Blob>) -> Self
Describes an update to the zipped code for an application.
sourcepub fn get_zip_file_content_update(&self) -> &Option<Blob>
pub fn get_zip_file_content_update(&self) -> &Option<Blob>
Describes an update to the zipped code for an application.
sourcepub fn s3_content_location_update(self, input: S3ContentLocationUpdate) -> Self
pub fn s3_content_location_update(self, input: S3ContentLocationUpdate) -> Self
Describes an update to the location of code for an application.
sourcepub fn set_s3_content_location_update(
self,
input: Option<S3ContentLocationUpdate>,
) -> Self
pub fn set_s3_content_location_update( self, input: Option<S3ContentLocationUpdate>, ) -> Self
Describes an update to the location of code for an application.
sourcepub fn get_s3_content_location_update(&self) -> &Option<S3ContentLocationUpdate>
pub fn get_s3_content_location_update(&self) -> &Option<S3ContentLocationUpdate>
Describes an update to the location of code for an application.
sourcepub fn build(self) -> CodeContentUpdate
pub fn build(self) -> CodeContentUpdate
Consumes the builder and constructs a CodeContentUpdate
.
Trait Implementations§
source§impl Clone for CodeContentUpdateBuilder
impl Clone for CodeContentUpdateBuilder
source§fn clone(&self) -> CodeContentUpdateBuilder
fn clone(&self) -> CodeContentUpdateBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CodeContentUpdateBuilder
impl Debug for CodeContentUpdateBuilder
source§impl Default for CodeContentUpdateBuilder
impl Default for CodeContentUpdateBuilder
source§fn default() -> CodeContentUpdateBuilder
fn default() -> CodeContentUpdateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CodeContentUpdateBuilder
impl PartialEq for CodeContentUpdateBuilder
source§fn eq(&self, other: &CodeContentUpdateBuilder) -> bool
fn eq(&self, other: &CodeContentUpdateBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CodeContentUpdateBuilder
Auto Trait Implementations§
impl Freeze for CodeContentUpdateBuilder
impl RefUnwindSafe for CodeContentUpdateBuilder
impl Send for CodeContentUpdateBuilder
impl Sync for CodeContentUpdateBuilder
impl Unpin for CodeContentUpdateBuilder
impl UnwindSafe for CodeContentUpdateBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.