pub struct Builder { /* private fields */ }
Expand description
A builder for AwsEksClusterLoggingClusterLoggingDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> AwsEksClusterLoggingClusterLoggingDetails
pub fn build(self) -> AwsEksClusterLoggingClusterLoggingDetails
Consumes the builder and constructs a AwsEksClusterLoggingClusterLoggingDetails
.