#[non_exhaustive]pub struct DataLakeReplicationConfigurationBuilder { /* private fields */ }Expand description
A builder for DataLakeReplicationConfiguration.
Implementations§
source§impl DataLakeReplicationConfigurationBuilder
impl DataLakeReplicationConfigurationBuilder
sourcepub fn regions(self, input: impl Into<String>) -> Self
pub fn regions(self, input: impl Into<String>) -> Self
Appends an item to regions.
To override the contents of this collection use set_regions.
Specifies one or more centralized rollup Regions. The Amazon Web Services Region specified in the region parameter of the CreateDataLake or UpdateDataLake operations contributes data to the rollup Region or Regions specified in this parameter.
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. S3 buckets that are configured for object replication can be owned by the same Amazon Web Services account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets. The destination buckets can be in different Regions or within the same Region as the source bucket.
sourcepub fn set_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_regions(self, input: Option<Vec<String>>) -> Self
Specifies one or more centralized rollup Regions. The Amazon Web Services Region specified in the region parameter of the CreateDataLake or UpdateDataLake operations contributes data to the rollup Region or Regions specified in this parameter.
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. S3 buckets that are configured for object replication can be owned by the same Amazon Web Services account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets. The destination buckets can be in different Regions or within the same Region as the source bucket.
sourcepub fn get_regions(&self) -> &Option<Vec<String>>
pub fn get_regions(&self) -> &Option<Vec<String>>
Specifies one or more centralized rollup Regions. The Amazon Web Services Region specified in the region parameter of the CreateDataLake or UpdateDataLake operations contributes data to the rollup Region or Regions specified in this parameter.
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. S3 buckets that are configured for object replication can be owned by the same Amazon Web Services account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets. The destination buckets can be in different Regions or within the same Region as the source bucket.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
Replication settings for the Amazon S3 buckets. This parameter uses the Identity and Access Management (IAM) role you created that is managed by Security Lake, to ensure the replication setting is correct.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
Replication settings for the Amazon S3 buckets. This parameter uses the Identity and Access Management (IAM) role you created that is managed by Security Lake, to ensure the replication setting is correct.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
Replication settings for the Amazon S3 buckets. This parameter uses the Identity and Access Management (IAM) role you created that is managed by Security Lake, to ensure the replication setting is correct.
sourcepub fn build(self) -> DataLakeReplicationConfiguration
pub fn build(self) -> DataLakeReplicationConfiguration
Consumes the builder and constructs a DataLakeReplicationConfiguration.
Trait Implementations§
source§impl Clone for DataLakeReplicationConfigurationBuilder
impl Clone for DataLakeReplicationConfigurationBuilder
source§fn clone(&self) -> DataLakeReplicationConfigurationBuilder
fn clone(&self) -> DataLakeReplicationConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DataLakeReplicationConfigurationBuilder
impl Default for DataLakeReplicationConfigurationBuilder
source§fn default() -> DataLakeReplicationConfigurationBuilder
fn default() -> DataLakeReplicationConfigurationBuilder
source§impl PartialEq for DataLakeReplicationConfigurationBuilder
impl PartialEq for DataLakeReplicationConfigurationBuilder
source§fn eq(&self, other: &DataLakeReplicationConfigurationBuilder) -> bool
fn eq(&self, other: &DataLakeReplicationConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DataLakeReplicationConfigurationBuilder
Auto Trait Implementations§
impl Freeze for DataLakeReplicationConfigurationBuilder
impl RefUnwindSafe for DataLakeReplicationConfigurationBuilder
impl Send for DataLakeReplicationConfigurationBuilder
impl Sync for DataLakeReplicationConfigurationBuilder
impl Unpin for DataLakeReplicationConfigurationBuilder
impl UnwindSafe for DataLakeReplicationConfigurationBuilder
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