@Generated(value="software.amazon.awssdk:codegen") public final class ClusterSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterSetting.Builder,ClusterSetting>
The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClusterSetting.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ClusterSetting.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ClusterSettingName |
name()
The name of the cluster setting.
|
String |
nameAsString()
The name of the cluster setting.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClusterSetting.Builder> |
serializableBuilderClass() |
ClusterSetting.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value to set for the cluster setting.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ClusterSettingName name()
The name of the cluster setting. The value is containerInsights .
If the service returns an enum value that is not available in the current SDK version, name will return
ClusterSettingName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
containerInsights .ClusterSettingNamepublic final String nameAsString()
The name of the cluster setting. The value is containerInsights .
If the service returns an enum value that is not available in the current SDK version, name will return
ClusterSettingName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
containerInsights .ClusterSettingNamepublic final 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ClusterSetting.Builder,ClusterSetting>public static ClusterSetting.Builder builder()
public static Class<? extends ClusterSetting.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.