Struct aws_sdk_emrserverless::model::managed_persistence_monitoring_configuration::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ManagedPersistenceMonitoringConfiguration
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Enables managed logging and defaults to true. If set to false, managed logging will be turned off.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Enables managed logging and defaults to true. If set to false, managed logging will be turned off.
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 stored in managed log persistence.
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 stored in managed log persistence.
sourcepub fn build(self) -> ManagedPersistenceMonitoringConfiguration
pub fn build(self) -> ManagedPersistenceMonitoringConfiguration
Consumes the builder and constructs a ManagedPersistenceMonitoringConfiguration
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more