Class CfnCluster.ClusterConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnCluster.ClusterConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.ClusterConfigurationProperty>
- Enclosing interface:
- CfnCluster.ClusterConfigurationProperty
@Stability(Stable)
public static final class CfnCluster.ClusterConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.ClusterConfigurationProperty>
A builder for
CfnCluster.ClusterConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.executeCommandConfiguration(IResolvable executeCommandConfiguration) Sets the value ofCfnCluster.ClusterConfigurationProperty.getExecuteCommandConfiguration()executeCommandConfiguration(CfnCluster.ExecuteCommandConfigurationProperty executeCommandConfiguration) Sets the value ofCfnCluster.ClusterConfigurationProperty.getExecuteCommandConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executeCommandConfiguration
@Stability(Stable) public CfnCluster.ClusterConfigurationProperty.Builder executeCommandConfiguration(IResolvable executeCommandConfiguration) Sets the value ofCfnCluster.ClusterConfigurationProperty.getExecuteCommandConfiguration()- Parameters:
executeCommandConfiguration- The details of the execute command configuration.- Returns:
this
-
executeCommandConfiguration
@Stability(Stable) public CfnCluster.ClusterConfigurationProperty.Builder executeCommandConfiguration(CfnCluster.ExecuteCommandConfigurationProperty executeCommandConfiguration) Sets the value ofCfnCluster.ClusterConfigurationProperty.getExecuteCommandConfiguration()- Parameters:
executeCommandConfiguration- The details of the execute command configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.ClusterConfigurationProperty>- Returns:
- a new instance of
CfnCluster.ClusterConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-