Class CfnCluster.CgroupCustomSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pcs.CfnCluster.CgroupCustomSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.CgroupCustomSettingProperty>
- Enclosing interface:
CfnCluster.CgroupCustomSettingProperty
@Stability(Stable)
public static final class CfnCluster.CgroupCustomSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.CgroupCustomSettingProperty>
A builder for
CfnCluster.CgroupCustomSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.parameterName(String parameterName) Sets the value ofCfnCluster.CgroupCustomSettingProperty.getParameterName()parameterValue(String parameterValue) Sets the value ofCfnCluster.CgroupCustomSettingProperty.getParameterValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parameterName
@Stability(Stable) public CfnCluster.CgroupCustomSettingProperty.Builder parameterName(String parameterName) Sets the value ofCfnCluster.CgroupCustomSettingProperty.getParameterName()- Parameters:
parameterName- The cgroup.conf parameter name. This parameter is required.- Returns:
this
-
parameterValue
@Stability(Stable) public CfnCluster.CgroupCustomSettingProperty.Builder parameterValue(String parameterValue) Sets the value ofCfnCluster.CgroupCustomSettingProperty.getParameterValue()- Parameters:
parameterValue- The value for the cgroup.conf parameter. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.CgroupCustomSettingProperty>- Returns:
- a new instance of
CfnCluster.CgroupCustomSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-