Class CfnGraph.NeptuneImportOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.neptunegraph.CfnGraph.NeptuneImportOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraph.NeptuneImportOptionsProperty>
- Enclosing interface:
CfnGraph.NeptuneImportOptionsProperty
@Stability(Stable)
public static final class CfnGraph.NeptuneImportOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGraph.NeptuneImportOptionsProperty>
A builder for
CfnGraph.NeptuneImportOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.preserveDefaultVertexLabels(Boolean preserveDefaultVertexLabels) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getPreserveDefaultVertexLabels()preserveDefaultVertexLabels(IResolvable preserveDefaultVertexLabels) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getPreserveDefaultVertexLabels()preserveEdgeIds(Boolean preserveEdgeIds) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getPreserveEdgeIds()preserveEdgeIds(IResolvable preserveEdgeIds) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getPreserveEdgeIds()s3ExportKmsKeyId(String s3ExportKmsKeyId) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getS3ExportKmsKeyId()s3ExportPath(String s3ExportPath) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getS3ExportPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3ExportKmsKeyId
@Stability(Stable) public CfnGraph.NeptuneImportOptionsProperty.Builder s3ExportKmsKeyId(String s3ExportKmsKeyId) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getS3ExportKmsKeyId()- Parameters:
s3ExportKmsKeyId- The KMS key to use to encrypt data in the S3 bucket where the graph data is exported. This parameter is required.- Returns:
this
-
s3ExportPath
@Stability(Stable) public CfnGraph.NeptuneImportOptionsProperty.Builder s3ExportPath(String s3ExportPath) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getS3ExportPath()- Parameters:
s3ExportPath- The path to an S3 bucket from which to import data. This parameter is required.- Returns:
this
-
preserveDefaultVertexLabels
@Stability(Stable) public CfnGraph.NeptuneImportOptionsProperty.Builder preserveDefaultVertexLabels(Boolean preserveDefaultVertexLabels) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getPreserveDefaultVertexLabels()- Parameters:
preserveDefaultVertexLabels- Neptune Analytics supports label-less vertices and no labels are assigned unless one is explicitly provided. Neptune assigns default labels when none is explicitly provided. When importing the data into Neptune Analytics, the default vertex labels can be omitted by setting preserveDefaultVertexLabels to false. Note that if the vertex only has default labels, and has no other properties or edges, then the vertex will effectively not get imported into Neptune Analytics when preserveDefaultVertexLabels is set to false.- Returns:
this
-
preserveDefaultVertexLabels
@Stability(Stable) public CfnGraph.NeptuneImportOptionsProperty.Builder preserveDefaultVertexLabels(IResolvable preserveDefaultVertexLabels) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getPreserveDefaultVertexLabels()- Parameters:
preserveDefaultVertexLabels- Neptune Analytics supports label-less vertices and no labels are assigned unless one is explicitly provided. Neptune assigns default labels when none is explicitly provided. When importing the data into Neptune Analytics, the default vertex labels can be omitted by setting preserveDefaultVertexLabels to false. Note that if the vertex only has default labels, and has no other properties or edges, then the vertex will effectively not get imported into Neptune Analytics when preserveDefaultVertexLabels is set to false.- Returns:
this
-
preserveEdgeIds
@Stability(Stable) public CfnGraph.NeptuneImportOptionsProperty.Builder preserveEdgeIds(Boolean preserveEdgeIds) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getPreserveEdgeIds()- Parameters:
preserveEdgeIds- Neptune Analytics currently does not support user defined edge ids. The edge ids are not imported by default. They are imported if preserveEdgeIds is set to true, and ids are stored as properties on the relationships with the property name neptuneEdgeId.- Returns:
this
-
preserveEdgeIds
@Stability(Stable) public CfnGraph.NeptuneImportOptionsProperty.Builder preserveEdgeIds(IResolvable preserveEdgeIds) Sets the value ofCfnGraph.NeptuneImportOptionsProperty.getPreserveEdgeIds()- Parameters:
preserveEdgeIds- Neptune Analytics currently does not support user defined edge ids. The edge ids are not imported by default. They are imported if preserveEdgeIds is set to true, and ids are stored as properties on the relationships with the property name neptuneEdgeId.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGraph.NeptuneImportOptionsProperty>- Returns:
- a new instance of
CfnGraph.NeptuneImportOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-