Struct aws_sdk_eks::types::builders::LogSetupBuilder
source · #[non_exhaustive]pub struct LogSetupBuilder { /* private fields */ }
Expand description
A builder for LogSetup
.
Implementations§
source§impl LogSetupBuilder
impl LogSetupBuilder
sourcepub fn types(self, input: LogType) -> Self
pub fn types(self, input: LogType) -> Self
Appends an item to types
.
To override the contents of this collection use set_types
.
The available cluster control plane log types.
sourcepub fn set_types(self, input: Option<Vec<LogType>>) -> Self
pub fn set_types(self, input: Option<Vec<LogType>>) -> Self
The available cluster control plane log types.
sourcepub fn get_types(&self) -> &Option<Vec<LogType>>
pub fn get_types(&self) -> &Option<Vec<LogType>>
The available cluster control plane log types.
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.
Trait Implementations§
source§impl Clone for LogSetupBuilder
impl Clone for LogSetupBuilder
source§fn clone(&self) -> LogSetupBuilder
fn clone(&self) -> LogSetupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LogSetupBuilder
impl Debug for LogSetupBuilder
source§impl Default for LogSetupBuilder
impl Default for LogSetupBuilder
source§fn default() -> LogSetupBuilder
fn default() -> LogSetupBuilder
source§impl PartialEq for LogSetupBuilder
impl PartialEq for LogSetupBuilder
source§fn eq(&self, other: &LogSetupBuilder) -> bool
fn eq(&self, other: &LogSetupBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.