Class CfnGraphSnapshotMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.neptunegraph.CfnGraphSnapshotMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraphSnapshotMixinProps>
- Enclosing interface:
CfnGraphSnapshotMixinProps
@Stability(Stable)
public static final class CfnGraphSnapshotMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGraphSnapshotMixinProps>
A builder for
CfnGraphSnapshotMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.graphIdentifier(String graphIdentifier) Sets the value ofCfnGraphSnapshotMixinProps.getGraphIdentifier()snapshotName(String snapshotName) Sets the value ofCfnGraphSnapshotMixinProps.getSnapshotName()Sets the value ofCfnGraphSnapshotMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
graphIdentifier
@Stability(Stable) public CfnGraphSnapshotMixinProps.Builder graphIdentifier(String graphIdentifier) Sets the value ofCfnGraphSnapshotMixinProps.getGraphIdentifier()- Parameters:
graphIdentifier- The unique identifier of the Neptune Analytics graph to create the snapshot from.- Returns:
this
-
snapshotName
Sets the value ofCfnGraphSnapshotMixinProps.getSnapshotName()- Parameters:
snapshotName- The snapshot name.- Returns:
this
-
tags
Sets the value ofCfnGraphSnapshotMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGraphSnapshotMixinProps>- Returns:
- a new instance of
CfnGraphSnapshotMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-