@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
.ClusterSettingName
public String getName()
The name of the cluster setting. The only supported value is containerInsights
.
containerInsights
.ClusterSettingName
public 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
.ClusterSettingName
public 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
.ClusterSettingName
public 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 Object
Object.toString()
public ClusterSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.