pub struct Builder { /* private fields */ }
Expand description
A builder for S3MonitoringConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn log_uri(self, input: impl Into<String>) -> Self
pub fn log_uri(self, input: impl Into<String>) -> Self
The Amazon S3 destination URI for log publishing.
sourcepub fn set_log_uri(self, input: Option<String>) -> Self
pub fn set_log_uri(self, input: Option<String>) -> Self
The Amazon S3 destination URI for log publishing.
sourcepub fn encryption_key_arn(self, input: impl Into<String>) -> Self
pub fn encryption_key_arn(self, input: impl Into<String>) -> Self
The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.
sourcepub fn set_encryption_key_arn(self, input: Option<String>) -> Self
pub fn set_encryption_key_arn(self, input: Option<String>) -> Self
The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.
sourcepub fn build(self) -> S3MonitoringConfiguration
pub fn build(self) -> S3MonitoringConfiguration
Consumes the builder and constructs a S3MonitoringConfiguration
.