Class CfnGraphPropsMixin.NeptuneImportOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.neptunegraph.CfnGraphPropsMixin.NeptuneImportOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraphPropsMixin.NeptuneImportOptionsProperty>
- Enclosing interface:
CfnGraphPropsMixin.NeptuneImportOptionsProperty
@Stability(Stable)
public static final class CfnGraphPropsMixin.NeptuneImportOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGraphPropsMixin.NeptuneImportOptionsProperty>
A builder for
CfnGraphPropsMixin.NeptuneImportOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.preserveDefaultVertexLabels(Boolean preserveDefaultVertexLabels) preserveDefaultVertexLabels(IResolvable preserveDefaultVertexLabels) preserveEdgeIds(Boolean preserveEdgeIds) Sets the value ofCfnGraphPropsMixin.NeptuneImportOptionsProperty.getPreserveEdgeIds()preserveEdgeIds(IResolvable preserveEdgeIds) Sets the value ofCfnGraphPropsMixin.NeptuneImportOptionsProperty.getPreserveEdgeIds()s3ExportKmsKeyId(String s3ExportKmsKeyId) Sets the value ofCfnGraphPropsMixin.NeptuneImportOptionsProperty.getS3ExportKmsKeyId()s3ExportPath(String s3ExportPath) Sets the value ofCfnGraphPropsMixin.NeptuneImportOptionsProperty.getS3ExportPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
preserveDefaultVertexLabels
@Stability(Stable) public CfnGraphPropsMixin.NeptuneImportOptionsProperty.Builder preserveDefaultVertexLabels(Boolean preserveDefaultVertexLabels) - 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 CfnGraphPropsMixin.NeptuneImportOptionsProperty.Builder preserveDefaultVertexLabels(IResolvable preserveDefaultVertexLabels) - 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 CfnGraphPropsMixin.NeptuneImportOptionsProperty.Builder preserveEdgeIds(Boolean preserveEdgeIds) Sets the value ofCfnGraphPropsMixin.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 CfnGraphPropsMixin.NeptuneImportOptionsProperty.Builder preserveEdgeIds(IResolvable preserveEdgeIds) Sets the value ofCfnGraphPropsMixin.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
-
s3ExportKmsKeyId
@Stability(Stable) public CfnGraphPropsMixin.NeptuneImportOptionsProperty.Builder s3ExportKmsKeyId(String s3ExportKmsKeyId) Sets the value ofCfnGraphPropsMixin.NeptuneImportOptionsProperty.getS3ExportKmsKeyId()- Parameters:
s3ExportKmsKeyId- The KMS key to use to encrypt data in the S3 bucket where the graph data is exported.- Returns:
this
-
s3ExportPath
@Stability(Stable) public CfnGraphPropsMixin.NeptuneImportOptionsProperty.Builder s3ExportPath(String s3ExportPath) Sets the value ofCfnGraphPropsMixin.NeptuneImportOptionsProperty.getS3ExportPath()- Parameters:
s3ExportPath- The path to an S3 bucket from which to import data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGraphPropsMixin.NeptuneImportOptionsProperty>- Returns:
- a new instance of
CfnGraphPropsMixin.NeptuneImportOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-