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