Class CfnKeyValueStore.ImportSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnKeyValueStore.ImportSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKeyValueStore.ImportSourceProperty>
- Enclosing interface:
CfnKeyValueStore.ImportSourceProperty
@Stability(Stable)
public static final class CfnKeyValueStore.ImportSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKeyValueStore.ImportSourceProperty>
A builder for
CfnKeyValueStore.ImportSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnKeyValueStore.ImportSourceProperty.getSourceArn()sourceType(String sourceType) Sets the value ofCfnKeyValueStore.ImportSourceProperty.getSourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceArn
Sets the value ofCfnKeyValueStore.ImportSourceProperty.getSourceArn()- Parameters:
sourceArn- The Amazon Resource Name (ARN) of the import source for the key value store. This parameter is required.- Returns:
this
-
sourceType
@Stability(Stable) public CfnKeyValueStore.ImportSourceProperty.Builder sourceType(String sourceType) Sets the value ofCfnKeyValueStore.ImportSourceProperty.getSourceType()- Parameters:
sourceType- The source type of the import source for the key value store. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKeyValueStore.ImportSourceProperty>- Returns:
- a new instance of
CfnKeyValueStore.ImportSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-