Struct aws_sdk_ecs::input::update_cluster_settings_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for UpdateClusterSettingsInput.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn cluster(self, input: impl Into<String>) -> Self
pub fn cluster(self, input: impl Into<String>) -> Self
The name of the cluster to modify the settings for.
sourcepub fn set_cluster(self, input: Option<String>) -> Self
pub fn set_cluster(self, input: Option<String>) -> Self
The name of the cluster to modify the settings for.
sourcepub fn settings(self, input: ClusterSetting) -> Self
pub fn settings(self, input: ClusterSetting) -> Self
Appends an item to settings.
To override the contents of this collection use set_settings.
The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.
sourcepub fn set_settings(self, input: Option<Vec<ClusterSetting>>) -> Self
pub fn set_settings(self, input: Option<Vec<ClusterSetting>>) -> Self
The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.
sourcepub fn build(self) -> Result<UpdateClusterSettingsInput, BuildError>
pub fn build(self) -> Result<UpdateClusterSettingsInput, BuildError>
Consumes the builder and constructs a UpdateClusterSettingsInput.