Class CfnDaemonTaskDefinitionPropsMixin.UlimitProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnDaemonTaskDefinitionPropsMixin.UlimitProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDaemonTaskDefinitionPropsMixin.UlimitProperty>
- Enclosing interface:
CfnDaemonTaskDefinitionPropsMixin.UlimitProperty
@Stability(Stable)
public static final class CfnDaemonTaskDefinitionPropsMixin.UlimitProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDaemonTaskDefinitionPropsMixin.UlimitProperty>
A builder for
CfnDaemonTaskDefinitionPropsMixin.UlimitProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDaemonTaskDefinitionPropsMixin.UlimitProperty.getHardLimit()Sets the value ofCfnDaemonTaskDefinitionPropsMixin.UlimitProperty.getName()Sets the value ofCfnDaemonTaskDefinitionPropsMixin.UlimitProperty.getSoftLimit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hardLimit
@Stability(Stable) public CfnDaemonTaskDefinitionPropsMixin.UlimitProperty.Builder hardLimit(Number hardLimit) Sets the value ofCfnDaemonTaskDefinitionPropsMixin.UlimitProperty.getHardLimit()- Parameters:
hardLimit- the value to be set.- Returns:
this
-
name
@Stability(Stable) public CfnDaemonTaskDefinitionPropsMixin.UlimitProperty.Builder name(String name) Sets the value ofCfnDaemonTaskDefinitionPropsMixin.UlimitProperty.getName()- Parameters:
name- the value to be set.- Returns:
this
-
softLimit
@Stability(Stable) public CfnDaemonTaskDefinitionPropsMixin.UlimitProperty.Builder softLimit(Number softLimit) Sets the value ofCfnDaemonTaskDefinitionPropsMixin.UlimitProperty.getSoftLimit()- Parameters:
softLimit- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDaemonTaskDefinitionPropsMixin.UlimitProperty>- Returns:
- a new instance of
CfnDaemonTaskDefinitionPropsMixin.UlimitProperty - Throws:
NullPointerException- if any required attribute was not provided
-