Class LimitReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.deadline.LimitReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LimitReference>
- Enclosing interface:
LimitReference
@Stability(Stable)
public static final class LimitReference.Builder
extends Object
implements software.amazon.jsii.Builder<LimitReference>
A builder for
LimitReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofLimitReference.getFarmId()Sets the value ofLimitReference.getLimitId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
farmId
Sets the value ofLimitReference.getFarmId()- Parameters:
farmId- The FarmId of the Limit resource. This parameter is required.- Returns:
this
-
limitId
Sets the value ofLimitReference.getLimitId()- Parameters:
limitId- The LimitId of the Limit resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LimitReference>- Returns:
- a new instance of
LimitReference - Throws:
NullPointerException- if any required attribute was not provided
-