Struct aws_sdk_ecs::operation::update_cluster_settings::builders::UpdateClusterSettingsFluentBuilder
source · pub struct UpdateClusterSettingsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateClusterSettings
.
Modifies the settings to use for a cluster.
Implementations§
source§impl UpdateClusterSettingsFluentBuilder
impl UpdateClusterSettingsFluentBuilder
sourcepub fn as_input(&self) -> &UpdateClusterSettingsInputBuilder
pub fn as_input(&self) -> &UpdateClusterSettingsInputBuilder
Access the UpdateClusterSettings as a reference.
sourcepub async fn send(
self
) -> Result<UpdateClusterSettingsOutput, SdkError<UpdateClusterSettingsError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateClusterSettingsOutput, SdkError<UpdateClusterSettingsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateClusterSettingsOutput, UpdateClusterSettingsError>, SdkError<UpdateClusterSettingsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateClusterSettingsOutput, UpdateClusterSettingsError>, SdkError<UpdateClusterSettingsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for UpdateClusterSettingsFluentBuilder
impl Clone for UpdateClusterSettingsFluentBuilder
source§fn clone(&self) -> UpdateClusterSettingsFluentBuilder
fn clone(&self) -> UpdateClusterSettingsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more