Class CfnKeyValueStoreProps.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnKeyValueStoreProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKeyValueStoreProps>
- Enclosing interface:
CfnKeyValueStoreProps
@Stability(Stable)
public static final class CfnKeyValueStoreProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKeyValueStoreProps>
A builder for
CfnKeyValueStoreProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnKeyValueStoreProps.getComment()importSource(IResolvable importSource) Sets the value ofCfnKeyValueStoreProps.getImportSource()importSource(CfnKeyValueStore.ImportSourceProperty importSource) Sets the value ofCfnKeyValueStoreProps.getImportSource()Sets the value ofCfnKeyValueStoreProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnKeyValueStoreProps.getName()- Parameters:
name- The name of the key value store. This parameter is required.- Returns:
this
-
comment
Sets the value ofCfnKeyValueStoreProps.getComment()- Parameters:
comment- A comment for the key value store.- Returns:
this
-
importSource
Sets the value ofCfnKeyValueStoreProps.getImportSource()- Parameters:
importSource- The import source for the key value store.- Returns:
this
-
importSource
@Stability(Stable) public CfnKeyValueStoreProps.Builder importSource(CfnKeyValueStore.ImportSourceProperty importSource) Sets the value ofCfnKeyValueStoreProps.getImportSource()- Parameters:
importSource- The import source for the key value store.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKeyValueStoreProps>- Returns:
- a new instance of
CfnKeyValueStoreProps - Throws:
NullPointerException- if any required attribute was not provided
-