Interface UpdateClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateClusterRequest.Builder,
,UpdateClusterRequest> EcsRequest.Builder
,SdkBuilder<UpdateClusterRequest.Builder,
,UpdateClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the cluster to modify the settings for.default UpdateClusterRequest.Builder
configuration
(Consumer<ClusterConfiguration.Builder> configuration) The execute command configuration for the cluster.configuration
(ClusterConfiguration configuration) The execute command configuration for the cluster.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateClusterRequest.Builder
serviceConnectDefaults
(Consumer<ClusterServiceConnectDefaultsRequest.Builder> serviceConnectDefaults) Use this parameter to set a default Service Connect namespace.serviceConnectDefaults
(ClusterServiceConnectDefaultsRequest serviceConnectDefaults) Use this parameter to set a default Service Connect namespace.settings
(Collection<ClusterSetting> settings) The cluster settings for your cluster.settings
(Consumer<ClusterSetting.Builder>... settings) The cluster settings for your cluster.settings
(ClusterSetting... settings) The cluster settings for your cluster.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
cluster
The name of the cluster to modify the settings for.
- Parameters:
cluster
- The name of the cluster to modify the settings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
The cluster settings for your cluster.
- Parameters:
settings
- The cluster settings for your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
The cluster settings for your cluster.
- Parameters:
settings
- The cluster settings for your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
The cluster settings for your cluster.
This is a convenience method that creates an instance of theClusterSetting.Builder
avoiding the need to create one manually viaClusterSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosettings(List<ClusterSetting>)
.- Parameters:
settings
- a consumer that will call methods onClusterSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configuration
The execute command configuration for the cluster.
- Parameters:
configuration
- The execute command configuration for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateClusterRequest.Builder configuration(Consumer<ClusterConfiguration.Builder> configuration) The execute command configuration for the cluster.
This is a convenience method that creates an instance of theClusterConfiguration.Builder
avoiding the need to create one manually viaClusterConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(ClusterConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onClusterConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceConnectDefaults
UpdateClusterRequest.Builder serviceConnectDefaults(ClusterServiceConnectDefaultsRequest serviceConnectDefaults) 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 totrue
in theServiceConnectConfiguration
. You can set the namespace of each service individually in theServiceConnectConfiguration
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.
- Parameters:
serviceConnectDefaults
- 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 theenabled
parameter totrue
in theServiceConnectConfiguration
. You can set the namespace of each service individually in theServiceConnectConfiguration
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceConnectDefaults
default UpdateClusterRequest.Builder serviceConnectDefaults(Consumer<ClusterServiceConnectDefaultsRequest.Builder> serviceConnectDefaults) 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 totrue
in theServiceConnectConfiguration
. You can set the namespace of each service individually in theServiceConnectConfiguration
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.
This is a convenience method that creates an instance of theClusterServiceConnectDefaultsRequest.Builder
avoiding the need to create one manually viaClusterServiceConnectDefaultsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceConnectDefaults(ClusterServiceConnectDefaultsRequest)
.- Parameters:
serviceConnectDefaults
- a consumer that will call methods onClusterServiceConnectDefaultsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-