#[non_exhaustive]pub struct UpdateClusterInputBuilder { /* private fields */ }
Expand description
A builder for UpdateClusterInput
.
Implementations§
source§impl UpdateClusterInputBuilder
impl UpdateClusterInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateClusterInput, BuildError>
pub fn build(self) -> Result<UpdateClusterInput, BuildError>
Consumes the builder and constructs a UpdateClusterInput
.
source§impl UpdateClusterInputBuilder
impl UpdateClusterInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateClusterOutput, SdkError<UpdateClusterError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateClusterOutput, SdkError<UpdateClusterError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateClusterInputBuilder
impl Clone for UpdateClusterInputBuilder
source§fn clone(&self) -> UpdateClusterInputBuilder
fn clone(&self) -> UpdateClusterInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateClusterInputBuilder
impl Debug for UpdateClusterInputBuilder
source§impl Default for UpdateClusterInputBuilder
impl Default for UpdateClusterInputBuilder
source§fn default() -> UpdateClusterInputBuilder
fn default() -> UpdateClusterInputBuilder
source§impl PartialEq for UpdateClusterInputBuilder
impl PartialEq for UpdateClusterInputBuilder
source§fn eq(&self, other: &UpdateClusterInputBuilder) -> bool
fn eq(&self, other: &UpdateClusterInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.