Struct aws_sdk_ecs::types::builders::ClusterSettingBuilder
source · #[non_exhaustive]pub struct ClusterSettingBuilder { /* private fields */ }Expand description
A builder for ClusterSetting.
Implementations§
source§impl ClusterSettingBuilder
impl ClusterSettingBuilder
sourcepub fn name(self, input: ClusterSettingName) -> Self
pub fn name(self, input: ClusterSettingName) -> Self
The name of the cluster setting. The value is containerInsights .
sourcepub fn set_name(self, input: Option<ClusterSettingName>) -> Self
pub fn set_name(self, input: Option<ClusterSettingName>) -> Self
The name of the cluster setting. The value is containerInsights .
sourcepub fn get_name(&self) -> &Option<ClusterSettingName>
pub fn get_name(&self) -> &Option<ClusterSettingName>
The name of the cluster setting. The value is containerInsights .
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value to set for the cluster setting. The supported values are enabled and disabled.
If you set name to containerInsights and value to enabled, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the containerInsights account setting is turned on. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The value to set for the cluster setting. The supported values are enabled and disabled.
If you set name to containerInsights and value to enabled, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the containerInsights account setting is turned on. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The value to set for the cluster setting. The supported values are enabled and disabled.
If you set name to containerInsights and value to enabled, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the containerInsights account setting is turned on. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.
sourcepub fn build(self) -> ClusterSetting
pub fn build(self) -> ClusterSetting
Consumes the builder and constructs a ClusterSetting.
Trait Implementations§
source§impl Clone for ClusterSettingBuilder
impl Clone for ClusterSettingBuilder
source§fn clone(&self) -> ClusterSettingBuilder
fn clone(&self) -> ClusterSettingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ClusterSettingBuilder
impl Debug for ClusterSettingBuilder
source§impl Default for ClusterSettingBuilder
impl Default for ClusterSettingBuilder
source§fn default() -> ClusterSettingBuilder
fn default() -> ClusterSettingBuilder
source§impl PartialEq for ClusterSettingBuilder
impl PartialEq for ClusterSettingBuilder
source§fn eq(&self, other: &ClusterSettingBuilder) -> bool
fn eq(&self, other: &ClusterSettingBuilder) -> bool
self and other values to be equal, and is used
by ==.