Class CfnDaemonMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnDaemonMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDaemonMixinProps>
- Enclosing interface:
CfnDaemonMixinProps
@Stability(Stable)
public static final class CfnDaemonMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDaemonMixinProps>
A builder for
CfnDaemonMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capacityProviderArns(List<String> capacityProviderArns) Sets the value ofCfnDaemonMixinProps.getCapacityProviderArns()clusterArn(String clusterArn) Sets the value ofCfnDaemonMixinProps.getClusterArn()daemonName(String daemonName) Sets the value ofCfnDaemonMixinProps.getDaemonName()daemonTaskDefinitionArn(String daemonTaskDefinitionArn) Sets the value ofCfnDaemonMixinProps.getDaemonTaskDefinitionArn()deploymentConfiguration(CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty deploymentConfiguration) Sets the value ofCfnDaemonMixinProps.getDeploymentConfiguration()deploymentConfiguration(IResolvable deploymentConfiguration) Sets the value ofCfnDaemonMixinProps.getDeploymentConfiguration()enableEcsManagedTags(Boolean enableEcsManagedTags) Sets the value ofCfnDaemonMixinProps.getEnableEcsManagedTags()enableEcsManagedTags(IResolvable enableEcsManagedTags) Sets the value ofCfnDaemonMixinProps.getEnableEcsManagedTags()enableExecuteCommand(Boolean enableExecuteCommand) Sets the value ofCfnDaemonMixinProps.getEnableExecuteCommand()enableExecuteCommand(IResolvable enableExecuteCommand) Sets the value ofCfnDaemonMixinProps.getEnableExecuteCommand()propagateTags(String propagateTags) Sets the value ofCfnDaemonMixinProps.getPropagateTags()Sets the value ofCfnDaemonMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capacityProviderArns
@Stability(Stable) public CfnDaemonMixinProps.Builder capacityProviderArns(List<String> capacityProviderArns) Sets the value ofCfnDaemonMixinProps.getCapacityProviderArns()- Parameters:
capacityProviderArns- the value to be set.- Returns:
this
-
clusterArn
Sets the value ofCfnDaemonMixinProps.getClusterArn()- Parameters:
clusterArn- the value to be set.- Returns:
this
-
daemonName
Sets the value ofCfnDaemonMixinProps.getDaemonName()- Parameters:
daemonName- the value to be set.- Returns:
this
-
daemonTaskDefinitionArn
@Stability(Stable) public CfnDaemonMixinProps.Builder daemonTaskDefinitionArn(String daemonTaskDefinitionArn) Sets the value ofCfnDaemonMixinProps.getDaemonTaskDefinitionArn()- Parameters:
daemonTaskDefinitionArn- the value to be set.- Returns:
this
-
deploymentConfiguration
@Stability(Stable) public CfnDaemonMixinProps.Builder deploymentConfiguration(IResolvable deploymentConfiguration) Sets the value ofCfnDaemonMixinProps.getDeploymentConfiguration()- Parameters:
deploymentConfiguration- the value to be set.- Returns:
this
-
deploymentConfiguration
@Stability(Stable) public CfnDaemonMixinProps.Builder deploymentConfiguration(CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty deploymentConfiguration) Sets the value ofCfnDaemonMixinProps.getDeploymentConfiguration()- Parameters:
deploymentConfiguration- the value to be set.- Returns:
this
-
enableEcsManagedTags
@Stability(Stable) public CfnDaemonMixinProps.Builder enableEcsManagedTags(Boolean enableEcsManagedTags) Sets the value ofCfnDaemonMixinProps.getEnableEcsManagedTags()- Parameters:
enableEcsManagedTags- the value to be set.- Returns:
this
-
enableEcsManagedTags
@Stability(Stable) public CfnDaemonMixinProps.Builder enableEcsManagedTags(IResolvable enableEcsManagedTags) Sets the value ofCfnDaemonMixinProps.getEnableEcsManagedTags()- Parameters:
enableEcsManagedTags- the value to be set.- Returns:
this
-
enableExecuteCommand
@Stability(Stable) public CfnDaemonMixinProps.Builder enableExecuteCommand(Boolean enableExecuteCommand) Sets the value ofCfnDaemonMixinProps.getEnableExecuteCommand()- Parameters:
enableExecuteCommand- the value to be set.- Returns:
this
-
enableExecuteCommand
@Stability(Stable) public CfnDaemonMixinProps.Builder enableExecuteCommand(IResolvable enableExecuteCommand) Sets the value ofCfnDaemonMixinProps.getEnableExecuteCommand()- Parameters:
enableExecuteCommand- the value to be set.- Returns:
this
-
propagateTags
Sets the value ofCfnDaemonMixinProps.getPropagateTags()- Parameters:
propagateTags- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnDaemonMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDaemonMixinProps>- Returns:
- a new instance of
CfnDaemonMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-