@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 enable CloudWatch Container Insights for a
cluster. If this value is specified, it will override the containerInsights
value set with
PutAccountSetting or PutAccountSettingDefault.
containerInsights
value set with PutAccountSetting or PutAccountSettingDefault.public void setSettings(Collection<ClusterSetting> settings)
The setting to use by default for a cluster. This parameter is used to enable CloudWatch Container Insights for a
cluster. If this value is specified, it will override the containerInsights
value set with
PutAccountSetting or PutAccountSettingDefault.
settings
- The setting to use by default for a cluster. This parameter is used to enable CloudWatch Container
Insights for a cluster. If this value is specified, it will override the containerInsights
value set with PutAccountSetting or PutAccountSettingDefault.public UpdateClusterSettingsRequest withSettings(ClusterSetting... settings)
The setting to use by default for a cluster. This parameter is used to enable CloudWatch Container Insights for a
cluster. If this value is specified, it will override the containerInsights
value set with
PutAccountSetting or PutAccountSettingDefault.
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 enable CloudWatch Container
Insights for a cluster. If this value is specified, it will override the containerInsights
value set with PutAccountSetting or PutAccountSettingDefault.public UpdateClusterSettingsRequest withSettings(Collection<ClusterSetting> settings)
The setting to use by default for a cluster. This parameter is used to enable CloudWatch Container Insights for a
cluster. If this value is specified, it will override the containerInsights
value set with
PutAccountSetting or PutAccountSettingDefault.
settings
- The setting to use by default for a cluster. This parameter is used to enable CloudWatch Container
Insights for a cluster. If this value is specified, it will override the containerInsights
value set with PutAccountSetting or PutAccountSettingDefault.public String toString()
toString
in class Object
Object.toString()
public UpdateClusterSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()