#[non_exhaustive]pub struct SnapshotJobResultFileGroupBuilder { /* private fields */ }Expand description
A builder for SnapshotJobResultFileGroup.
Implementations§
source§impl SnapshotJobResultFileGroupBuilder
impl SnapshotJobResultFileGroupBuilder
sourcepub fn files(self, input: SnapshotFile) -> Self
pub fn files(self, input: SnapshotFile) -> Self
Appends an item to files.
To override the contents of this collection use set_files.
A list of SnapshotFile objects.
sourcepub fn set_files(self, input: Option<Vec<SnapshotFile>>) -> Self
pub fn set_files(self, input: Option<Vec<SnapshotFile>>) -> Self
A list of SnapshotFile objects.
sourcepub fn get_files(&self) -> &Option<Vec<SnapshotFile>>
pub fn get_files(&self) -> &Option<Vec<SnapshotFile>>
A list of SnapshotFile objects.
sourcepub fn s3_results(self, input: SnapshotJobS3Result) -> Self
pub fn s3_results(self, input: SnapshotJobS3Result) -> Self
Appends an item to s3_results.
To override the contents of this collection use set_s3_results.
A list of SnapshotJobS3Result objects.
sourcepub fn set_s3_results(self, input: Option<Vec<SnapshotJobS3Result>>) -> Self
pub fn set_s3_results(self, input: Option<Vec<SnapshotJobS3Result>>) -> Self
A list of SnapshotJobS3Result objects.
sourcepub fn get_s3_results(&self) -> &Option<Vec<SnapshotJobS3Result>>
pub fn get_s3_results(&self) -> &Option<Vec<SnapshotJobS3Result>>
A list of SnapshotJobS3Result objects.
sourcepub fn build(self) -> SnapshotJobResultFileGroup
pub fn build(self) -> SnapshotJobResultFileGroup
Consumes the builder and constructs a SnapshotJobResultFileGroup.
Trait Implementations§
source§impl Clone for SnapshotJobResultFileGroupBuilder
impl Clone for SnapshotJobResultFileGroupBuilder
source§fn clone(&self) -> SnapshotJobResultFileGroupBuilder
fn clone(&self) -> SnapshotJobResultFileGroupBuilder
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 Default for SnapshotJobResultFileGroupBuilder
impl Default for SnapshotJobResultFileGroupBuilder
source§fn default() -> SnapshotJobResultFileGroupBuilder
fn default() -> SnapshotJobResultFileGroupBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SnapshotJobResultFileGroupBuilder
impl PartialEq for SnapshotJobResultFileGroupBuilder
source§fn eq(&self, other: &SnapshotJobResultFileGroupBuilder) -> bool
fn eq(&self, other: &SnapshotJobResultFileGroupBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SnapshotJobResultFileGroupBuilder
Auto Trait Implementations§
impl Freeze for SnapshotJobResultFileGroupBuilder
impl RefUnwindSafe for SnapshotJobResultFileGroupBuilder
impl Send for SnapshotJobResultFileGroupBuilder
impl Sync for SnapshotJobResultFileGroupBuilder
impl Unpin for SnapshotJobResultFileGroupBuilder
impl UnwindSafe for SnapshotJobResultFileGroupBuilder
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.