@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterSetting extends Object implements Serializable, Cloneable, StructuredPojo
The settings to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster.
| Constructor and Description |
|---|
ClusterSetting() |
| Modifier and Type | Method and Description |
|---|---|
ClusterSetting |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the cluster setting.
|
String |
getValue()
The value to set for the cluster setting.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The name of the cluster setting.
|
void |
setValue(String value)
The value to set for the cluster setting.
|
String |
toString()
Returns a string representation of this object.
|
ClusterSetting |
withName(ClusterSettingName name)
The name of the cluster setting.
|
ClusterSetting |
withName(String name)
The name of the cluster setting.
|
ClusterSetting |
withValue(String value)
The value to set for the cluster setting.
|
public void setName(String name)
The name of the cluster setting. The only supported value is containerInsights.
name - The name of the cluster setting. The only supported value is containerInsights.ClusterSettingNamepublic String getName()
The name of the cluster setting. The only supported value is containerInsights.
containerInsights.ClusterSettingNamepublic ClusterSetting withName(String name)
The name of the cluster setting. The only supported value is containerInsights.
name - The name of the cluster setting. The only supported value is containerInsights.ClusterSettingNamepublic ClusterSetting withName(ClusterSettingName name)
The name of the cluster setting. The only supported value is containerInsights.
name - The name of the cluster setting. The only supported value is containerInsights.ClusterSettingNamepublic void setValue(String value)
The value to set for the cluster setting. The supported values are enabled and disabled
. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise
it will be disabled unless the containerInsights account setting is enabled. If a cluster value is
specified, it will override the containerInsights value set with PutAccountSetting or
PutAccountSettingDefault.
value - The value to set for the cluster setting. The supported values are enabled and
disabled. If enabled is specified, CloudWatch Container Insights will be enabled
for the cluster, otherwise it will be disabled unless the containerInsights account setting
is enabled. If a cluster value is specified, it will override the containerInsights value set
with PutAccountSetting or PutAccountSettingDefault.public String getValue()
The value to set for the cluster setting. The supported values are enabled and disabled
. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise
it will be disabled unless the containerInsights account setting is enabled. If a cluster value is
specified, it will override the containerInsights value set with PutAccountSetting or
PutAccountSettingDefault.
enabled and
disabled. If enabled is specified, CloudWatch Container Insights will be
enabled for the cluster, otherwise it will be disabled unless the containerInsights account
setting is enabled. If a cluster value is specified, it will override the containerInsights
value set with PutAccountSetting or PutAccountSettingDefault.public ClusterSetting withValue(String value)
The value to set for the cluster setting. The supported values are enabled and disabled
. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise
it will be disabled unless the containerInsights account setting is enabled. If a cluster value is
specified, it will override the containerInsights value set with PutAccountSetting or
PutAccountSettingDefault.
value - The value to set for the cluster setting. The supported values are enabled and
disabled. If enabled is specified, CloudWatch Container Insights will be enabled
for the cluster, otherwise it will be disabled unless the containerInsights account setting
is enabled. If a cluster value is specified, it will override the containerInsights value set
with PutAccountSetting or PutAccountSettingDefault.public String toString()
toString in class ObjectObject.toString()public ClusterSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.