Struct aws_sdk_macie2::types::builders::S3DestinationBuilder
source · #[non_exhaustive]pub struct S3DestinationBuilder { /* private fields */ }
Expand description
A builder for S3Destination
.
Implementations§
source§impl S3DestinationBuilder
impl S3DestinationBuilder
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
.
Trait Implementations§
source§impl Clone for S3DestinationBuilder
impl Clone for S3DestinationBuilder
source§fn clone(&self) -> S3DestinationBuilder
fn clone(&self) -> S3DestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3DestinationBuilder
impl Debug for S3DestinationBuilder
source§impl Default for S3DestinationBuilder
impl Default for S3DestinationBuilder
source§fn default() -> S3DestinationBuilder
fn default() -> S3DestinationBuilder
source§impl PartialEq<S3DestinationBuilder> for S3DestinationBuilder
impl PartialEq<S3DestinationBuilder> for S3DestinationBuilder
source§fn eq(&self, other: &S3DestinationBuilder) -> bool
fn eq(&self, other: &S3DestinationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.