Class KeyValueStoreReference.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.KeyValueStoreReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeyValueStoreReference>
- Enclosing interface:
KeyValueStoreReference
@Stability(Stable)
public static final class KeyValueStoreReference.Builder
extends Object
implements software.amazon.jsii.Builder<KeyValueStoreReference>
A builder for
KeyValueStoreReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.keyValueStoreArn
(String keyValueStoreArn) Sets the value ofKeyValueStoreReference.getKeyValueStoreArn()
keyValueStoreName
(String keyValueStoreName) Sets the value ofKeyValueStoreReference.getKeyValueStoreName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyValueStoreArn
Sets the value ofKeyValueStoreReference.getKeyValueStoreArn()
- Parameters:
keyValueStoreArn
- The ARN of the KeyValueStore resource. This parameter is required.- Returns:
this
-
keyValueStoreName
@Stability(Stable) public KeyValueStoreReference.Builder keyValueStoreName(String keyValueStoreName) Sets the value ofKeyValueStoreReference.getKeyValueStoreName()
- Parameters:
keyValueStoreName
- The Name of the KeyValueStore resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KeyValueStoreReference>
- Returns:
- a new instance of
KeyValueStoreReference
- Throws:
NullPointerException
- if any required attribute was not provided
-