Class KeyValueStore.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.KeyValueStore.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeyValueStore>
- Enclosing class:
KeyValueStore
@Stability(Stable)
public static final class KeyValueStore.Builder
extends Object
implements software.amazon.jsii.Builder<KeyValueStore>
A fluent builder for
KeyValueStore
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
A comment for the Key Value Store.static KeyValueStore.Builder
keyValueStoreName
(String keyValueStoreName) The unique name of the Key Value Store.source
(ImportSource source) The import source for the Key Value Store.
-
Method Details
-
create
@Stability(Stable) public static KeyValueStore.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
KeyValueStore.Builder
.
-
comment
A comment for the Key Value Store.Default: No comment will be specified
- Parameters:
comment
- A comment for the Key Value Store. This parameter is required.- Returns:
this
-
keyValueStoreName
The unique name of the Key Value Store.Default: A generated name
- Parameters:
keyValueStoreName
- The unique name of the Key Value Store. This parameter is required.- Returns:
this
-
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.
Default: No data will be imported to the store
- Parameters:
source
- The import source for the Key Value Store. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KeyValueStore>
- Returns:
- a newly built instance of
KeyValueStore
.
-