#[non_exhaustive]pub struct SnapshotConfigurationBuilder { /* private fields */ }
Expand description
A builder for SnapshotConfiguration
.
Implementations§
source§impl SnapshotConfigurationBuilder
impl SnapshotConfigurationBuilder
sourcepub fn file_groups(self, input: SnapshotFileGroup) -> Self
pub fn file_groups(self, input: SnapshotFileGroup) -> Self
Appends an item to file_groups
.
To override the contents of this collection use set_file_groups
.
A list of SnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated. This list can hold a maximum of 6 FileGroup
configurations.
sourcepub fn set_file_groups(self, input: Option<Vec<SnapshotFileGroup>>) -> Self
pub fn set_file_groups(self, input: Option<Vec<SnapshotFileGroup>>) -> Self
A list of SnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated. This list can hold a maximum of 6 FileGroup
configurations.
sourcepub fn get_file_groups(&self) -> &Option<Vec<SnapshotFileGroup>>
pub fn get_file_groups(&self) -> &Option<Vec<SnapshotFileGroup>>
A list of SnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated. This list can hold a maximum of 6 FileGroup
configurations.
sourcepub fn destination_configuration(
self,
input: SnapshotDestinationConfiguration
) -> Self
pub fn destination_configuration( self, input: SnapshotDestinationConfiguration ) -> Self
A structure that contains information on the Amazon S3 bucket that the generated snapshot is stored in.
sourcepub fn set_destination_configuration(
self,
input: Option<SnapshotDestinationConfiguration>
) -> Self
pub fn set_destination_configuration( self, input: Option<SnapshotDestinationConfiguration> ) -> Self
A structure that contains information on the Amazon S3 bucket that the generated snapshot is stored in.
sourcepub fn get_destination_configuration(
&self
) -> &Option<SnapshotDestinationConfiguration>
pub fn get_destination_configuration( &self ) -> &Option<SnapshotDestinationConfiguration>
A structure that contains information on the Amazon S3 bucket that the generated snapshot is stored in.
sourcepub fn parameters(self, input: Parameters) -> Self
pub fn parameters(self, input: Parameters) -> Self
A list of Amazon QuickSight parameters and the list's override values.
sourcepub fn set_parameters(self, input: Option<Parameters>) -> Self
pub fn set_parameters(self, input: Option<Parameters>) -> Self
A list of Amazon QuickSight parameters and the list's override values.
sourcepub fn get_parameters(&self) -> &Option<Parameters>
pub fn get_parameters(&self) -> &Option<Parameters>
A list of Amazon QuickSight parameters and the list's override values.
sourcepub fn build(self) -> Result<SnapshotConfiguration, BuildError>
pub fn build(self) -> Result<SnapshotConfiguration, BuildError>
Consumes the builder and constructs a SnapshotConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SnapshotConfigurationBuilder
impl Clone for SnapshotConfigurationBuilder
source§fn clone(&self) -> SnapshotConfigurationBuilder
fn clone(&self) -> SnapshotConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SnapshotConfigurationBuilder
impl Debug for SnapshotConfigurationBuilder
source§impl Default for SnapshotConfigurationBuilder
impl Default for SnapshotConfigurationBuilder
source§fn default() -> SnapshotConfigurationBuilder
fn default() -> SnapshotConfigurationBuilder
source§impl PartialEq for SnapshotConfigurationBuilder
impl PartialEq for SnapshotConfigurationBuilder
source§fn eq(&self, other: &SnapshotConfigurationBuilder) -> bool
fn eq(&self, other: &SnapshotConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SnapshotConfigurationBuilder
Auto Trait Implementations§
impl Freeze for SnapshotConfigurationBuilder
impl RefUnwindSafe for SnapshotConfigurationBuilder
impl Send for SnapshotConfigurationBuilder
impl Sync for SnapshotConfigurationBuilder
impl Unpin for SnapshotConfigurationBuilder
impl UnwindSafe for SnapshotConfigurationBuilder
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