Interface UpdateClusterSettingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateClusterSettingsRequest.Builder,UpdateClusterSettingsRequest>
,EcsRequest.Builder
,SdkBuilder<UpdateClusterSettingsRequest.Builder,UpdateClusterSettingsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateClusterSettingsRequest
public static interface UpdateClusterSettingsRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<UpdateClusterSettingsRequest.Builder,UpdateClusterSettingsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateClusterSettingsRequest.Builder
cluster(String cluster)
The name of the cluster to modify the settings for.UpdateClusterSettingsRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateClusterSettingsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateClusterSettingsRequest.Builder
settings(Collection<ClusterSetting> settings)
The setting to use by default for a cluster.UpdateClusterSettingsRequest.Builder
settings(Consumer<ClusterSetting.Builder>... settings)
The setting to use by default for a cluster.UpdateClusterSettingsRequest.Builder
settings(ClusterSetting... settings)
The setting to use by default for a 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
cluster
UpdateClusterSettingsRequest.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
UpdateClusterSettingsRequest.Builder settings(Collection<ClusterSetting> settings)
The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides the
containerInsights
value set with PutAccountSetting or PutAccountSettingDefault.Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
- Parameters:
settings
- The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides thecontainerInsights
value set with PutAccountSetting or PutAccountSettingDefault.Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
UpdateClusterSettingsRequest.Builder settings(ClusterSetting... settings)
The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides the
containerInsights
value set with PutAccountSetting or PutAccountSettingDefault.Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
- Parameters:
settings
- The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides thecontainerInsights
value set with PutAccountSetting or PutAccountSettingDefault.Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
UpdateClusterSettingsRequest.Builder settings(Consumer<ClusterSetting.Builder>... settings)
The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides the
containerInsights
value set with PutAccountSetting or PutAccountSettingDefault.Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
ClusterSetting.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
)
-
overrideConfiguration
UpdateClusterSettingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateClusterSettingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-