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