#[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 ==.