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