Class CfnJobDefinition.UlimitProperty.Builder
java.lang.Object
software.amazon.awscdk.services.batch.CfnJobDefinition.UlimitProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobDefinition.UlimitProperty>
- Enclosing interface:
- CfnJobDefinition.UlimitProperty
@Stability(Stable)
public static final class CfnJobDefinition.UlimitProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobDefinition.UlimitProperty>
A builder for
CfnJobDefinition.UlimitProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnJobDefinition.UlimitProperty.getHardLimit()
Sets the value ofCfnJobDefinition.UlimitProperty.getName()
Sets the value ofCfnJobDefinition.UlimitProperty.getSoftLimit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hardLimit
Sets the value ofCfnJobDefinition.UlimitProperty.getHardLimit()
- Parameters:
hardLimit
- The hard limit for theulimit
type. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnJobDefinition.UlimitProperty.getName()
- Parameters:
name
- Thetype
of theulimit
. This parameter is required.- Returns:
this
-
softLimit
Sets the value ofCfnJobDefinition.UlimitProperty.getSoftLimit()
- Parameters:
softLimit
- The soft limit for theulimit
type. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobDefinition.UlimitProperty>
- Returns:
- a new instance of
CfnJobDefinition.UlimitProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-