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
impl StructuralPartialEq for LogSetupBuilder
Auto Trait Implementations§
impl Freeze for LogSetupBuilder
impl RefUnwindSafe for LogSetupBuilder
impl Send for LogSetupBuilder
impl Sync for LogSetupBuilder
impl Unpin for LogSetupBuilder
impl UnwindSafe for LogSetupBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more