Class CfnGraphSnapshotProps.Builder
java.lang.Object
software.amazon.awscdk.services.neptunegraph.CfnGraphSnapshotProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraphSnapshotProps>
- Enclosing interface:
CfnGraphSnapshotProps
@Stability(Stable)
public static final class CfnGraphSnapshotProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGraphSnapshotProps>
A builder for
CfnGraphSnapshotProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.graphIdentifier(String graphIdentifier) Sets the value ofCfnGraphSnapshotProps.getGraphIdentifier()snapshotName(String snapshotName) Sets the value ofCfnGraphSnapshotProps.getSnapshotName()Sets the value ofCfnGraphSnapshotProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
snapshotName
Sets the value ofCfnGraphSnapshotProps.getSnapshotName()- Parameters:
snapshotName- The snapshot name. This parameter is required.- Returns:
this
-
graphIdentifier
Sets the value ofCfnGraphSnapshotProps.getGraphIdentifier()- Parameters:
graphIdentifier- The unique identifier of the Neptune Analytics graph to create the snapshot from.- Returns:
this
-
tags
Sets the value ofCfnGraphSnapshotProps.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<CfnGraphSnapshotProps>- Returns:
- a new instance of
CfnGraphSnapshotProps - Throws:
NullPointerException- if any required attribute was not provided
-