Struct aws_sdk_securityhub::types::builders::AwsEksClusterLoggingClusterLoggingDetailsBuilder
source · #[non_exhaustive]pub struct AwsEksClusterLoggingClusterLoggingDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEksClusterLoggingClusterLoggingDetails
.
Implementations§
source§impl AwsEksClusterLoggingClusterLoggingDetailsBuilder
impl AwsEksClusterLoggingClusterLoggingDetailsBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Whether the logging types that are listed in Types
are enabled.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Whether the logging types that are listed in Types
are enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Whether the logging types that are listed in Types
are enabled.
sourcepub fn types(self, input: impl Into<String>) -> Self
pub fn types(self, input: impl Into<String>) -> Self
Appends an item to types
.
To override the contents of this collection use set_types
.
A list of logging types. Valid values are as follows:
-
api
-
audit
-
authenticator
-
controllerManager
-
scheduler
sourcepub fn set_types(self, input: Option<Vec<String>>) -> Self
pub fn set_types(self, input: Option<Vec<String>>) -> Self
A list of logging types. Valid values are as follows:
-
api
-
audit
-
authenticator
-
controllerManager
-
scheduler
sourcepub fn get_types(&self) -> &Option<Vec<String>>
pub fn get_types(&self) -> &Option<Vec<String>>
A list of logging types. Valid values are as follows:
-
api
-
audit
-
authenticator
-
controllerManager
-
scheduler
sourcepub fn build(self) -> AwsEksClusterLoggingClusterLoggingDetails
pub fn build(self) -> AwsEksClusterLoggingClusterLoggingDetails
Consumes the builder and constructs a AwsEksClusterLoggingClusterLoggingDetails
.
Trait Implementations§
source§impl Clone for AwsEksClusterLoggingClusterLoggingDetailsBuilder
impl Clone for AwsEksClusterLoggingClusterLoggingDetailsBuilder
source§fn clone(&self) -> AwsEksClusterLoggingClusterLoggingDetailsBuilder
fn clone(&self) -> AwsEksClusterLoggingClusterLoggingDetailsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AwsEksClusterLoggingClusterLoggingDetailsBuilder
impl Default for AwsEksClusterLoggingClusterLoggingDetailsBuilder
source§fn default() -> AwsEksClusterLoggingClusterLoggingDetailsBuilder
fn default() -> AwsEksClusterLoggingClusterLoggingDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsEksClusterLoggingClusterLoggingDetailsBuilder
impl PartialEq for AwsEksClusterLoggingClusterLoggingDetailsBuilder
source§fn eq(&self, other: &AwsEksClusterLoggingClusterLoggingDetailsBuilder) -> bool
fn eq(&self, other: &AwsEksClusterLoggingClusterLoggingDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEksClusterLoggingClusterLoggingDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsEksClusterLoggingClusterLoggingDetailsBuilder
impl RefUnwindSafe for AwsEksClusterLoggingClusterLoggingDetailsBuilder
impl Send for AwsEksClusterLoggingClusterLoggingDetailsBuilder
impl Sync for AwsEksClusterLoggingClusterLoggingDetailsBuilder
impl Unpin for AwsEksClusterLoggingClusterLoggingDetailsBuilder
impl UnwindSafe for AwsEksClusterLoggingClusterLoggingDetailsBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.