Class CfnClusterPropsMixin.ClusterSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnClusterPropsMixin.ClusterSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterSettingsProperty>
- Enclosing interface:
CfnClusterPropsMixin.ClusterSettingsProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.ClusterSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterSettingsProperty>
A builder for
CfnClusterPropsMixin.ClusterSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.ClusterSettingsProperty.getName()Sets the value ofCfnClusterPropsMixin.ClusterSettingsProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnClusterPropsMixin.ClusterSettingsProperty.getName()- Parameters:
name- The name of the cluster setting. The value iscontainerInsights.- Returns:
this
-
value
Sets the value ofCfnClusterPropsMixin.ClusterSettingsProperty.getValue()- Parameters:
value- The value to set for the cluster setting. The supported values areenhanced,enabled, anddisabled. To use Container Insights with enhanced observability, set thecontainerInsightsaccount 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterSettingsProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.ClusterSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-