Struct aws_sdk_ecs::operation::update_cluster_settings::builders::UpdateClusterSettingsInputBuilder
source · #[non_exhaustive]pub struct UpdateClusterSettingsInputBuilder { /* private fields */ }
Expand description
A builder for UpdateClusterSettingsInput
.
Implementations§
source§impl UpdateClusterSettingsInputBuilder
impl UpdateClusterSettingsInputBuilder
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 get_cluster(&self) -> &Option<String>
pub fn get_cluster(&self) -> &Option<String>
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
.
Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
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
.
Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
sourcepub fn get_settings(&self) -> &Option<Vec<ClusterSetting>>
pub fn get_settings(&self) -> &Option<Vec<ClusterSetting>>
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
.
Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
sourcepub fn build(self) -> Result<UpdateClusterSettingsInput, BuildError>
pub fn build(self) -> Result<UpdateClusterSettingsInput, BuildError>
Consumes the builder and constructs a UpdateClusterSettingsInput
.
source§impl UpdateClusterSettingsInputBuilder
impl UpdateClusterSettingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateClusterSettingsOutput, SdkError<UpdateClusterSettingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateClusterSettingsOutput, SdkError<UpdateClusterSettingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateClusterSettingsInputBuilder
impl Clone for UpdateClusterSettingsInputBuilder
source§fn clone(&self) -> UpdateClusterSettingsInputBuilder
fn clone(&self) -> UpdateClusterSettingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateClusterSettingsInputBuilder
impl Default for UpdateClusterSettingsInputBuilder
source§fn default() -> UpdateClusterSettingsInputBuilder
fn default() -> UpdateClusterSettingsInputBuilder
source§impl PartialEq<UpdateClusterSettingsInputBuilder> for UpdateClusterSettingsInputBuilder
impl PartialEq<UpdateClusterSettingsInputBuilder> for UpdateClusterSettingsInputBuilder
source§fn eq(&self, other: &UpdateClusterSettingsInputBuilder) -> bool
fn eq(&self, other: &UpdateClusterSettingsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.