Interface UpdateClusterSettingsRequest.Builder

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

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

        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.

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

        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:
        #settings(java.util.Collection)