@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 turn on 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)
Marshalls this structured data using the given
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 value is containerInsights .
name - The name of the cluster setting. The value is containerInsights .ClusterSettingNamepublic String getName()
The name of the cluster setting. The value is containerInsights .
containerInsights .ClusterSettingNamepublic ClusterSetting withName(String name)
The name of the cluster setting. The value is containerInsights .
name - The name of the cluster setting. The value is containerInsights .ClusterSettingNamepublic ClusterSetting withName(ClusterSettingName name)
The name of the cluster setting. The value is containerInsights .
name - The name of the cluster setting. The value is containerInsights .ClusterSettingNamepublic void setValue(String value)
The value to set for the cluster setting. The supported values are enabled and disabled
.
If you set name to containerInsights and value to enabled,
CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the
containerInsights account setting is turned on. 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 you set name to containerInsights and value to
enabled, CloudWatch Container Insights will be on for the cluster, otherwise it will be off
unless the containerInsights account setting is turned on. 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 you set name to containerInsights and value to enabled,
CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the
containerInsights account setting is turned on. If a cluster value is specified, it will override
the containerInsights value set with PutAccountSetting
or
PutAccountSettingDefault.
enabled and
disabled.
If you set name to containerInsights and value to
enabled, CloudWatch Container Insights will be on for the cluster, otherwise it will be off
unless the containerInsights account setting is turned on. 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 you set name to containerInsights and value to enabled,
CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the
containerInsights account setting is turned on. 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 you set name to containerInsights and value to
enabled, CloudWatch Container Insights will be on for the cluster, otherwise it will be off
unless the containerInsights account setting is turned on. 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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.