Class ClusterSetting
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.ClusterSetting
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ClusterSetting.Builder,ClusterSetting>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceClusterSetting.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterSetting.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ClusterSettingNamename()The name of the cluster setting.StringnameAsString()The name of the cluster setting.List<SdkField<?>>sdkFields()static Class<? extends ClusterSetting.Builder>serializableBuilderClass()ClusterSetting.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value to set for the cluster setting.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public 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,
namewill returnClusterSettingName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the cluster setting. The value is
containerInsights. - See Also:
ClusterSettingName
-
nameAsString
public 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,
namewill returnClusterSettingName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the cluster setting. The value is
containerInsights. - See Also:
ClusterSettingName
-
value
public final String value()
The value to set for the cluster setting. The supported values are
enabledanddisabled.If you set
nametocontainerInsightsandvaluetoenabled, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless thecontainerInsightsaccount setting is turned on. If a cluster value is specified, it will override thecontainerInsightsvalue set with PutAccountSetting or PutAccountSettingDefault.- Returns:
- The value to set for the cluster setting. The supported values are
enabledanddisabled.If you set
nametocontainerInsightsandvaluetoenabled, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless thecontainerInsightsaccount setting is turned on. If a cluster value is specified, it will override thecontainerInsightsvalue set with PutAccountSetting or PutAccountSettingDefault.
-
toBuilder
public ClusterSetting.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterSetting.Builder,ClusterSetting>
-
builder
public static ClusterSetting.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClusterSetting.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-