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