Class KeyValueStoreProps.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.KeyValueStoreProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeyValueStoreProps>
- Enclosing interface:
KeyValueStoreProps
@Stability(Stable)
public static final class KeyValueStoreProps.Builder
extends Object
implements software.amazon.jsii.Builder<KeyValueStoreProps>
A builder for
KeyValueStoreProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofKeyValueStoreProps.getComment()keyValueStoreName(String keyValueStoreName) Sets the value ofKeyValueStoreProps.getKeyValueStoreName()source(ImportSource source) Sets the value ofKeyValueStoreProps.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comment
Sets the value ofKeyValueStoreProps.getComment()- Parameters:
comment- A comment for the Key Value Store.- Returns:
this
-
keyValueStoreName
Sets the value ofKeyValueStoreProps.getKeyValueStoreName()- Parameters:
keyValueStoreName- The unique name of the Key Value Store.- Returns:
this
-
source
Sets the value ofKeyValueStoreProps.getSource()- Parameters:
source- The import source for the Key Value Store. This will populate the initial items in the Key Value Store. The source data must be in a valid JSON format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KeyValueStoreProps>- Returns:
- a new instance of
KeyValueStoreProps - Throws:
NullPointerException- if any required attribute was not provided
-