#[non_exhaustive]pub struct DataLakeResourceBuilder { /* private fields */ }
Expand description
A builder for DataLakeResource
.
Implementations§
source§impl DataLakeResourceBuilder
impl DataLakeResourceBuilder
sourcepub fn data_lake_arn(self, input: impl Into<String>) -> Self
pub fn data_lake_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about ARNs and how to use them in policies, see the Amazon Security Lake User Guide.
This field is required.sourcepub fn set_data_lake_arn(self, input: Option<String>) -> Self
pub fn set_data_lake_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about ARNs and how to use them in policies, see the Amazon Security Lake User Guide.
sourcepub fn get_data_lake_arn(&self) -> &Option<String>
pub fn get_data_lake_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about ARNs and how to use them in policies, see the Amazon Security Lake User Guide.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The Amazon Web Services Regions where Security Lake is enabled.
This field is required.sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Amazon Web Services Regions where Security Lake is enabled.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
The Amazon Web Services Regions where Security Lake is enabled.
sourcepub fn s3_bucket_arn(self, input: impl Into<String>) -> Self
pub fn s3_bucket_arn(self, input: impl Into<String>) -> Self
The ARN for the Amazon Security Lake Amazon S3 bucket.
sourcepub fn set_s3_bucket_arn(self, input: Option<String>) -> Self
pub fn set_s3_bucket_arn(self, input: Option<String>) -> Self
The ARN for the Amazon Security Lake Amazon S3 bucket.
sourcepub fn get_s3_bucket_arn(&self) -> &Option<String>
pub fn get_s3_bucket_arn(&self) -> &Option<String>
The ARN for the Amazon Security Lake Amazon S3 bucket.
sourcepub fn encryption_configuration(
self,
input: DataLakeEncryptionConfiguration
) -> Self
pub fn encryption_configuration( self, input: DataLakeEncryptionConfiguration ) -> Self
Provides encryption details of Amazon Security Lake object.
sourcepub fn set_encryption_configuration(
self,
input: Option<DataLakeEncryptionConfiguration>
) -> Self
pub fn set_encryption_configuration( self, input: Option<DataLakeEncryptionConfiguration> ) -> Self
Provides encryption details of Amazon Security Lake object.
sourcepub fn get_encryption_configuration(
&self
) -> &Option<DataLakeEncryptionConfiguration>
pub fn get_encryption_configuration( &self ) -> &Option<DataLakeEncryptionConfiguration>
Provides encryption details of Amazon Security Lake object.
sourcepub fn lifecycle_configuration(
self,
input: DataLakeLifecycleConfiguration
) -> Self
pub fn lifecycle_configuration( self, input: DataLakeLifecycleConfiguration ) -> Self
Provides lifecycle details of Amazon Security Lake object.
sourcepub fn set_lifecycle_configuration(
self,
input: Option<DataLakeLifecycleConfiguration>
) -> Self
pub fn set_lifecycle_configuration( self, input: Option<DataLakeLifecycleConfiguration> ) -> Self
Provides lifecycle details of Amazon Security Lake object.
sourcepub fn get_lifecycle_configuration(
&self
) -> &Option<DataLakeLifecycleConfiguration>
pub fn get_lifecycle_configuration( &self ) -> &Option<DataLakeLifecycleConfiguration>
Provides lifecycle details of Amazon Security Lake object.
sourcepub fn replication_configuration(
self,
input: DataLakeReplicationConfiguration
) -> Self
pub fn replication_configuration( self, input: DataLakeReplicationConfiguration ) -> Self
Provides replication details of Amazon Security Lake object.
sourcepub fn set_replication_configuration(
self,
input: Option<DataLakeReplicationConfiguration>
) -> Self
pub fn set_replication_configuration( self, input: Option<DataLakeReplicationConfiguration> ) -> Self
Provides replication details of Amazon Security Lake object.
sourcepub fn get_replication_configuration(
&self
) -> &Option<DataLakeReplicationConfiguration>
pub fn get_replication_configuration( &self ) -> &Option<DataLakeReplicationConfiguration>
Provides replication details of Amazon Security Lake object.
sourcepub fn create_status(self, input: DataLakeStatus) -> Self
pub fn create_status(self, input: DataLakeStatus) -> Self
Retrieves the status of the configuration operation for an account in Amazon Security Lake.
sourcepub fn set_create_status(self, input: Option<DataLakeStatus>) -> Self
pub fn set_create_status(self, input: Option<DataLakeStatus>) -> Self
Retrieves the status of the configuration operation for an account in Amazon Security Lake.
sourcepub fn get_create_status(&self) -> &Option<DataLakeStatus>
pub fn get_create_status(&self) -> &Option<DataLakeStatus>
Retrieves the status of the configuration operation for an account in Amazon Security Lake.
sourcepub fn update_status(self, input: DataLakeUpdateStatus) -> Self
pub fn update_status(self, input: DataLakeUpdateStatus) -> Self
The status of the last UpdateDataLake
or DeleteDataLake
API request.
sourcepub fn set_update_status(self, input: Option<DataLakeUpdateStatus>) -> Self
pub fn set_update_status(self, input: Option<DataLakeUpdateStatus>) -> Self
The status of the last UpdateDataLake
or DeleteDataLake
API request.
sourcepub fn get_update_status(&self) -> &Option<DataLakeUpdateStatus>
pub fn get_update_status(&self) -> &Option<DataLakeUpdateStatus>
The status of the last UpdateDataLake
or DeleteDataLake
API request.
sourcepub fn build(self) -> Result<DataLakeResource, BuildError>
pub fn build(self) -> Result<DataLakeResource, BuildError>
Consumes the builder and constructs a DataLakeResource
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DataLakeResourceBuilder
impl Clone for DataLakeResourceBuilder
source§fn clone(&self) -> DataLakeResourceBuilder
fn clone(&self) -> DataLakeResourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataLakeResourceBuilder
impl Debug for DataLakeResourceBuilder
source§impl Default for DataLakeResourceBuilder
impl Default for DataLakeResourceBuilder
source§fn default() -> DataLakeResourceBuilder
fn default() -> DataLakeResourceBuilder
source§impl PartialEq for DataLakeResourceBuilder
impl PartialEq for DataLakeResourceBuilder
source§fn eq(&self, other: &DataLakeResourceBuilder) -> bool
fn eq(&self, other: &DataLakeResourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.