Class GraphSnapshotReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.neptunegraph.GraphSnapshotReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GraphSnapshotReference>
- Enclosing interface:
GraphSnapshotReference
@Stability(Stable)
public static final class GraphSnapshotReference.Builder
extends Object
implements software.amazon.jsii.Builder<GraphSnapshotReference>
A builder for
GraphSnapshotReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.graphSnapshotArn(String graphSnapshotArn) Sets the value ofGraphSnapshotReference.getGraphSnapshotArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
graphSnapshotArn
Sets the value ofGraphSnapshotReference.getGraphSnapshotArn()- Parameters:
graphSnapshotArn- The Arn of the GraphSnapshot resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GraphSnapshotReference>- Returns:
- a new instance of
GraphSnapshotReference - Throws:
NullPointerException- if any required attribute was not provided
-