Class ClusterSetting
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ClusterSetting.Builder,ClusterSetting>
The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights with enhanced observability or CloudWatch Container Insights for a cluster.
Container Insights with enhanced observability provides all the Container Insights metrics, plus additional task and container metrics. This version supports enhanced observability for Amazon ECS clusters using the Amazon EC2 and Fargate launch types. After you configure Container Insights with enhanced observability on Amazon ECS, Container Insights auto-collects detailed infrastructure telemetry from the cluster level down to the container level in your environment and displays these critical performance data in curated dashboards removing the heavy lifting in observability set-up.
For more information, see Monitor Amazon ECS containers using Container Insights with enhanced observability in the Amazon Elastic Container Service Developer Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterSetting.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ClusterSettingNamename()The name of the cluster setting.final StringThe name of the cluster setting.static Class<? extends ClusterSetting.Builder>final StringtoString()Returns a string representation of this object.final Stringvalue()The value to set for the cluster setting.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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:
-
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:
-
value
The value to set for the cluster setting. The supported values are
enhanced,enabled, anddisabled.To use Container Insights with enhanced observability, set the
containerInsightsaccount setting toenhanced.To use Container Insights, set the
containerInsightsaccount setting toenabled.If a cluster value is specified, it will override the
containerInsightsvalue set with PutAccountSetting or PutAccountSettingDefault.- Returns:
- The value to set for the cluster setting. The supported values are
enhanced,enabled, anddisabled.To use Container Insights with enhanced observability, set the
containerInsightsaccount setting toenhanced.To use Container Insights, set the
containerInsightsaccount setting toenabled.If a cluster value is specified, it will override the
containerInsightsvalue set with PutAccountSetting or PutAccountSettingDefault.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterSetting.Builder,ClusterSetting>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-