pub struct UpdateClusterFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateCluster
.
Updates the cluster.
Implementations§
source§impl UpdateClusterFluentBuilder
impl UpdateClusterFluentBuilder
sourcepub fn as_input(&self) -> &UpdateClusterInputBuilder
pub fn as_input(&self) -> &UpdateClusterInputBuilder
Access the UpdateCluster as a reference.
sourcepub async fn send(
self
) -> Result<UpdateClusterOutput, SdkError<UpdateClusterError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateClusterOutput, SdkError<UpdateClusterError, 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<UpdateClusterOutput, UpdateClusterError>, SdkError<UpdateClusterError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateClusterOutput, UpdateClusterError>, SdkError<UpdateClusterError>>
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 cluster settings for your cluster.
sourcepub fn set_settings(self, input: Option<Vec<ClusterSetting>>) -> Self
pub fn set_settings(self, input: Option<Vec<ClusterSetting>>) -> Self
The cluster settings for your cluster.
sourcepub fn get_settings(&self) -> &Option<Vec<ClusterSetting>>
pub fn get_settings(&self) -> &Option<Vec<ClusterSetting>>
The cluster settings for your cluster.
sourcepub fn configuration(self, input: ClusterConfiguration) -> Self
pub fn configuration(self, input: ClusterConfiguration) -> Self
The execute command configuration for the cluster.
sourcepub fn set_configuration(self, input: Option<ClusterConfiguration>) -> Self
pub fn set_configuration(self, input: Option<ClusterConfiguration>) -> Self
The execute command configuration for the cluster.
sourcepub fn get_configuration(&self) -> &Option<ClusterConfiguration>
pub fn get_configuration(&self) -> &Option<ClusterConfiguration>
The execute command configuration for the cluster.
sourcepub fn service_connect_defaults(
self,
input: ClusterServiceConnectDefaultsRequest
) -> Self
pub fn service_connect_defaults( self, input: ClusterServiceConnectDefaultsRequest ) -> Self
Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled
parameter to true
in the ServiceConnectConfiguration
. You can set the namespace of each service individually in the ServiceConnectConfiguration
to override this default parameter.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
sourcepub fn set_service_connect_defaults(
self,
input: Option<ClusterServiceConnectDefaultsRequest>
) -> Self
pub fn set_service_connect_defaults( self, input: Option<ClusterServiceConnectDefaultsRequest> ) -> Self
Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled
parameter to true
in the ServiceConnectConfiguration
. You can set the namespace of each service individually in the ServiceConnectConfiguration
to override this default parameter.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
sourcepub fn get_service_connect_defaults(
&self
) -> &Option<ClusterServiceConnectDefaultsRequest>
pub fn get_service_connect_defaults( &self ) -> &Option<ClusterServiceConnectDefaultsRequest>
Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled
parameter to true
in the ServiceConnectConfiguration
. You can set the namespace of each service individually in the ServiceConnectConfiguration
to override this default parameter.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
Trait Implementations§
source§impl Clone for UpdateClusterFluentBuilder
impl Clone for UpdateClusterFluentBuilder
source§fn clone(&self) -> UpdateClusterFluentBuilder
fn clone(&self) -> UpdateClusterFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more