Class CfnGraphSnapshot.Builder
java.lang.Object
software.amazon.awscdk.services.neptunegraph.CfnGraphSnapshot.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraphSnapshot>
- Enclosing class:
CfnGraphSnapshot
@Stability(Stable)
public static final class CfnGraphSnapshot.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGraphSnapshot>
A fluent builder for
CfnGraphSnapshot.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnGraphSnapshot.BuildergraphIdentifier(String graphIdentifier) The unique identifier of the Neptune Analytics graph to create the snapshot from.snapshotName(String snapshotName) The snapshot name.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnGraphSnapshot.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnGraphSnapshot.Builder.
-
snapshotName
The snapshot name.- Parameters:
snapshotName- The snapshot name. This parameter is required.- Returns:
this- See Also:
-
graphIdentifier
The unique identifier of the Neptune Analytics graph to create the snapshot from.- Parameters:
graphIdentifier- The unique identifier of the Neptune Analytics graph to create the snapshot from. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGraphSnapshot>- Returns:
- a newly built instance of
CfnGraphSnapshot.
-