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