Class APIKeyReference.Builder
java.lang.Object
software.amazon.awscdk.services.location.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.getApiKeyArn()
build()
Builds the configured instance.Sets the value ofAPIKeyReference.getKeyName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKeyArn
Sets the value ofAPIKeyReference.getApiKeyArn()
- Parameters:
apiKeyArn
- The ARN of the APIKey resource. This parameter is required.- Returns:
this
-
keyName
Sets the value ofAPIKeyReference.getKeyName()
- Parameters:
keyName
- The KeyName of the APIKey resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<APIKeyReference>
- Returns:
- a new instance of
APIKeyReference
- Throws:
NullPointerException
- if any required attribute was not provided
-