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 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 the ClusterSetting.Builder avoiding the need to create one manually via ClusterSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to settings(List<ClusterSetting>).

      Parameters:
      settings - a consumer that will call methods on ClusterSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the ClusterConfiguration.Builder avoiding the need to create one manually via ClusterConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(ClusterConfiguration).

      Parameters:
      configuration - a consumer that will call methods on ClusterConfiguration.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 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.

      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 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.

      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 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.

      This is a convenience method that creates an instance of the ClusterServiceConnectDefaultsRequest.Builder avoiding the need to create one manually via ClusterServiceConnectDefaultsRequest.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to serviceConnectDefaults(ClusterServiceConnectDefaultsRequest).

      Parameters:
      serviceConnectDefaults - a consumer that will call methods on ClusterServiceConnectDefaultsRequest.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.