Class AddApiKeyOptions.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.AddApiKeyOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AddApiKeyOptions>
- Enclosing interface:
AddApiKeyOptions
@Stability(Stable)
public static final class AddApiKeyOptions.Builder
extends Object
implements software.amazon.jsii.Builder<AddApiKeyOptions>
A builder for
AddApiKeyOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.overrideLogicalId(String overrideLogicalId) Sets the value ofAddApiKeyOptions.getOverrideLogicalId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
overrideLogicalId
Sets the value ofAddApiKeyOptions.getOverrideLogicalId()- Parameters:
overrideLogicalId- Override the CloudFormation logical id of the AWS::ApiGateway::UsagePlanKey resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AddApiKeyOptions>- Returns:
- a new instance of
AddApiKeyOptions - Throws:
NullPointerException- if any required attribute was not provided
-