Struct aws_sdk_ecs::model::cluster_setting::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ClusterSetting.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: ClusterSettingName) -> Self
pub fn name(self, input: ClusterSettingName) -> Self
The name of the cluster setting. The only supported 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 only supported 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 enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights account setting is enabled. 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 enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights account setting is enabled. 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.