Struct aws_sdk_macie2::model::s3_destination::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for S3Destination
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The name of the bucket.
sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The name of the bucket.
sourcepub fn key_prefix(self, input: impl Into<String>) -> Self
pub fn key_prefix(self, input: impl Into<String>) -> Self
The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.
sourcepub fn set_key_prefix(self, input: Option<String>) -> Self
pub fn set_key_prefix(self, input: Option<String>) -> Self
The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the customer managed KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric encryption KMS key that's in the same Amazon Web Services Region as the bucket.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the customer managed KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric encryption KMS key that's in the same Amazon Web Services Region as the bucket.
sourcepub fn build(self) -> S3Destination
pub fn build(self) -> S3Destination
Consumes the builder and constructs a S3Destination
.