Interface UpdateClusterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>
,EcsRequest.Builder
,SdkBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateClusterRequest
public static interface UpdateClusterRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
cluster
UpdateClusterRequest.Builder cluster(String 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
UpdateClusterRequest.Builder settings(Collection<ClusterSetting> 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
UpdateClusterRequest.Builder settings(ClusterSetting... 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
UpdateClusterRequest.Builder settings(Consumer<ClusterSetting.Builder>... 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 to#settings(List
.) - 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:
#settings(java.util.Collection
)
-
configuration
UpdateClusterRequest.Builder configuration(ClusterConfiguration 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:
configuration(ClusterConfiguration)
-
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:
serviceConnectDefaults(ClusterServiceConnectDefaultsRequest)
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-