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