Struct aws_sdk_datasync::types::builders::S3ManifestConfigBuilder
source · #[non_exhaustive]pub struct S3ManifestConfigBuilder { /* private fields */ }
Expand description
A builder for S3ManifestConfig
.
Implementations§
source§impl S3ManifestConfigBuilder
impl S3ManifestConfigBuilder
sourcepub fn manifest_object_path(self, input: impl Into<String>) -> Self
pub fn manifest_object_path(self, input: impl Into<String>) -> Self
Specifies the Amazon S3 object key of your manifest. This can include a prefix (for example, prefix/my-manifest.csv
).
sourcepub fn set_manifest_object_path(self, input: Option<String>) -> Self
pub fn set_manifest_object_path(self, input: Option<String>) -> Self
Specifies the Amazon S3 object key of your manifest. This can include a prefix (for example, prefix/my-manifest.csv
).
sourcepub fn get_manifest_object_path(&self) -> &Option<String>
pub fn get_manifest_object_path(&self) -> &Option<String>
Specifies the Amazon S3 object key of your manifest. This can include a prefix (for example, prefix/my-manifest.csv
).
sourcepub fn bucket_access_role_arn(self, input: impl Into<String>) -> Self
pub fn bucket_access_role_arn(self, input: impl Into<String>) -> Self
Specifies the Identity and Access Management (IAM) role that allows DataSync to access your manifest. For more information, see Providing DataSync access to your manifest.
This field is required.sourcepub fn set_bucket_access_role_arn(self, input: Option<String>) -> Self
pub fn set_bucket_access_role_arn(self, input: Option<String>) -> Self
Specifies the Identity and Access Management (IAM) role that allows DataSync to access your manifest. For more information, see Providing DataSync access to your manifest.
sourcepub fn get_bucket_access_role_arn(&self) -> &Option<String>
pub fn get_bucket_access_role_arn(&self) -> &Option<String>
Specifies the Identity and Access Management (IAM) role that allows DataSync to access your manifest. For more information, see Providing DataSync access to your manifest.
sourcepub fn s3_bucket_arn(self, input: impl Into<String>) -> Self
pub fn s3_bucket_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
This field is required.sourcepub fn set_s3_bucket_arn(self, input: Option<String>) -> Self
pub fn set_s3_bucket_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
sourcepub fn get_s3_bucket_arn(&self) -> &Option<String>
pub fn get_s3_bucket_arn(&self) -> &Option<String>
Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
sourcepub fn manifest_object_version_id(self, input: impl Into<String>) -> Self
pub fn manifest_object_version_id(self, input: impl Into<String>) -> Self
Specifies the object version ID of the manifest that you want DataSync to use. If you don't set this, DataSync uses the latest version of the object.
sourcepub fn set_manifest_object_version_id(self, input: Option<String>) -> Self
pub fn set_manifest_object_version_id(self, input: Option<String>) -> Self
Specifies the object version ID of the manifest that you want DataSync to use. If you don't set this, DataSync uses the latest version of the object.
sourcepub fn get_manifest_object_version_id(&self) -> &Option<String>
pub fn get_manifest_object_version_id(&self) -> &Option<String>
Specifies the object version ID of the manifest that you want DataSync to use. If you don't set this, DataSync uses the latest version of the object.
sourcepub fn build(self) -> Result<S3ManifestConfig, BuildError>
pub fn build(self) -> Result<S3ManifestConfig, BuildError>
Consumes the builder and constructs a S3ManifestConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3ManifestConfigBuilder
impl Clone for S3ManifestConfigBuilder
source§fn clone(&self) -> S3ManifestConfigBuilder
fn clone(&self) -> S3ManifestConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3ManifestConfigBuilder
impl Debug for S3ManifestConfigBuilder
source§impl Default for S3ManifestConfigBuilder
impl Default for S3ManifestConfigBuilder
source§fn default() -> S3ManifestConfigBuilder
fn default() -> S3ManifestConfigBuilder
source§impl PartialEq for S3ManifestConfigBuilder
impl PartialEq for S3ManifestConfigBuilder
source§fn eq(&self, other: &S3ManifestConfigBuilder) -> bool
fn eq(&self, other: &S3ManifestConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3ManifestConfigBuilder
Auto Trait Implementations§
impl Freeze for S3ManifestConfigBuilder
impl RefUnwindSafe for S3ManifestConfigBuilder
impl Send for S3ManifestConfigBuilder
impl Sync for S3ManifestConfigBuilder
impl Unpin for S3ManifestConfigBuilder
impl UnwindSafe for S3ManifestConfigBuilder
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