Struct aws_sdk_datasync::types::builders::ManifestConfigBuilder
source · #[non_exhaustive]pub struct ManifestConfigBuilder { /* private fields */ }
Expand description
A builder for ManifestConfig
.
Implementations§
source§impl ManifestConfigBuilder
impl ManifestConfigBuilder
sourcepub fn action(self, input: ManifestAction) -> Self
pub fn action(self, input: ManifestAction) -> Self
Specifies what DataSync uses the manifest for.
sourcepub fn set_action(self, input: Option<ManifestAction>) -> Self
pub fn set_action(self, input: Option<ManifestAction>) -> Self
Specifies what DataSync uses the manifest for.
sourcepub fn get_action(&self) -> &Option<ManifestAction>
pub fn get_action(&self) -> &Option<ManifestAction>
Specifies what DataSync uses the manifest for.
sourcepub fn format(self, input: ManifestFormat) -> Self
pub fn format(self, input: ManifestFormat) -> Self
Specifies the file format of your manifest. For more information, see Creating a manifest.
sourcepub fn set_format(self, input: Option<ManifestFormat>) -> Self
pub fn set_format(self, input: Option<ManifestFormat>) -> Self
Specifies the file format of your manifest. For more information, see Creating a manifest.
sourcepub fn get_format(&self) -> &Option<ManifestFormat>
pub fn get_format(&self) -> &Option<ManifestFormat>
Specifies the file format of your manifest. For more information, see Creating a manifest.
sourcepub fn source(self, input: SourceManifestConfig) -> Self
pub fn source(self, input: SourceManifestConfig) -> Self
Specifies the manifest that you want DataSync to use and where it's hosted.
You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and ValidationException
error stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest.
sourcepub fn set_source(self, input: Option<SourceManifestConfig>) -> Self
pub fn set_source(self, input: Option<SourceManifestConfig>) -> Self
Specifies the manifest that you want DataSync to use and where it's hosted.
You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and ValidationException
error stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest.
sourcepub fn get_source(&self) -> &Option<SourceManifestConfig>
pub fn get_source(&self) -> &Option<SourceManifestConfig>
Specifies the manifest that you want DataSync to use and where it's hosted.
You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and ValidationException
error stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest.
sourcepub fn build(self) -> ManifestConfig
pub fn build(self) -> ManifestConfig
Consumes the builder and constructs a ManifestConfig
.
Trait Implementations§
source§impl Clone for ManifestConfigBuilder
impl Clone for ManifestConfigBuilder
source§fn clone(&self) -> ManifestConfigBuilder
fn clone(&self) -> ManifestConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManifestConfigBuilder
impl Debug for ManifestConfigBuilder
source§impl Default for ManifestConfigBuilder
impl Default for ManifestConfigBuilder
source§fn default() -> ManifestConfigBuilder
fn default() -> ManifestConfigBuilder
source§impl PartialEq for ManifestConfigBuilder
impl PartialEq for ManifestConfigBuilder
impl StructuralPartialEq for ManifestConfigBuilder
Auto Trait Implementations§
impl Freeze for ManifestConfigBuilder
impl RefUnwindSafe for ManifestConfigBuilder
impl Send for ManifestConfigBuilder
impl Sync for ManifestConfigBuilder
impl Unpin for ManifestConfigBuilder
impl UnwindSafe for ManifestConfigBuilder
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