@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateClusterSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateClusterSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateClusterSettingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCluster()
The name of the cluster to modify the settings for.
|
List<ClusterSetting> |
getSettings()
The setting to use by default for a cluster.
|
int |
hashCode() |
void |
setCluster(String cluster)
The name of the cluster to modify the settings for.
|
void |
setSettings(Collection<ClusterSetting> settings)
The setting to use by default for a cluster.
|
String |
toString()
Returns a string representation of this object.
|
UpdateClusterSettingsRequest |
withCluster(String cluster)
The name of the cluster to modify the settings for.
|
UpdateClusterSettingsRequest |
withSettings(ClusterSetting... settings)
The setting to use by default for a cluster.
|
UpdateClusterSettingsRequest |
withSettings(Collection<ClusterSetting> settings)
The setting to use by default for a cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCluster(String cluster)
The name of the cluster to modify the settings for.
cluster
- The name of the cluster to modify the settings for.public String getCluster()
The name of the cluster to modify the settings for.
public UpdateClusterSettingsRequest withCluster(String cluster)
The name of the cluster to modify the settings for.
cluster
- The name of the cluster to modify the settings for.public List<ClusterSetting> getSettings()
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.
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.
public void setSettings(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.
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.
public UpdateClusterSettingsRequest withSettings(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.
NOTE: This method appends the values to the existing list (if any). Use
setSettings(java.util.Collection)
or withSettings(java.util.Collection)
if you want to override
the existing values.
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.
public UpdateClusterSettingsRequest withSettings(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.
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.
public String toString()
toString
in class Object
Object.toString()
public UpdateClusterSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()