Interface CreateGraphUsingImportTaskRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateGraphUsingImportTaskRequest.Builder,
,CreateGraphUsingImportTaskRequest> NeptuneGraphRequest.Builder
,SdkBuilder<CreateGraphUsingImportTaskRequest.Builder,
,CreateGraphUsingImportTaskRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateGraphUsingImportTaskRequest
-
Method Summary
Modifier and TypeMethodDescriptionblankNodeHandling
(String blankNodeHandling) The method to handle blank nodes in the dataset.blankNodeHandling
(BlankNodeHandling blankNodeHandling) The method to handle blank nodes in the dataset.deletionProtection
(Boolean deletionProtection) Indicates whether or not to enable deletion protection on the graph.failOnError
(Boolean failOnError) If set totrue
, the task halts when an import error is encountered.Specifies the format of S3 data to be imported.Specifies the format of S3 data to be imported.A name for the new Neptune Analytics graph to be created.importOptions
(Consumer<ImportOptions.Builder> importOptions) Contains options for controlling the import process.importOptions
(ImportOptions importOptions) Contains options for controlling the import process.kmsKeyIdentifier
(String kmsKeyIdentifier) Specifies a KMS key to use to encrypt data imported into the new graph.maxProvisionedMemory
(Integer maxProvisionedMemory) The maximum provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.minProvisionedMemory
(Integer minProvisionedMemory) The minimum provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parquetType
(String parquetType) The parquet type of the import task.parquetType
(ParquetType parquetType) The parquet type of the import task.publicConnectivity
(Boolean publicConnectivity) Specifies whether or not the graph can be reachable over the internet.replicaCount
(Integer replicaCount) The number of replicas in other AZs to provision on the new graph after import.The ARN of the IAM role that will allow access to the data that is to be imported.A URL identifying to the location of the data to be imported.Adds metadata tags to the new graph.vectorSearchConfiguration
(Consumer<VectorSearchConfiguration.Builder> vectorSearchConfiguration) Specifies the number of dimensions for vector embeddings that will be loaded into the graph.vectorSearchConfiguration
(VectorSearchConfiguration vectorSearchConfiguration) Specifies the number of dimensions for vector embeddings that will be loaded into the graph.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
graphName
A name for the new Neptune Analytics graph to be created.
The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens. Only lowercase letters are allowed.
- Parameters:
graphName
- A name for the new Neptune Analytics graph to be created.The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens. Only lowercase letters are allowed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Adds metadata tags to the new graph. These tags can also be used with cost allocation reporting, or used in a Condition statement in an IAM policy.
- Parameters:
tags
- Adds metadata tags to the new graph. These tags can also be used with cost allocation reporting, or used in a Condition statement in an IAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicConnectivity
Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated. (
true
to enable, orfalse
to disable).- Parameters:
publicConnectivity
- Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated. (true
to enable, orfalse
to disable).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyIdentifier
Specifies a KMS key to use to encrypt data imported into the new graph.
- Parameters:
kmsKeyIdentifier
- Specifies a KMS key to use to encrypt data imported into the new graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorSearchConfiguration
CreateGraphUsingImportTaskRequest.Builder vectorSearchConfiguration(VectorSearchConfiguration vectorSearchConfiguration) Specifies the number of dimensions for vector embeddings that will be loaded into the graph. The value is specified as
dimension=
value. Max = 65,535- Parameters:
vectorSearchConfiguration
- Specifies the number of dimensions for vector embeddings that will be loaded into the graph. The value is specified asdimension=
value. Max = 65,535- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorSearchConfiguration
default CreateGraphUsingImportTaskRequest.Builder vectorSearchConfiguration(Consumer<VectorSearchConfiguration.Builder> vectorSearchConfiguration) Specifies the number of dimensions for vector embeddings that will be loaded into the graph. The value is specified as
This is a convenience method that creates an instance of thedimension=
value. Max = 65,535VectorSearchConfiguration.Builder
avoiding the need to create one manually viaVectorSearchConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovectorSearchConfiguration(VectorSearchConfiguration)
.- Parameters:
vectorSearchConfiguration
- a consumer that will call methods onVectorSearchConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicaCount
The number of replicas in other AZs to provision on the new graph after import. Default = 0, Min = 0, Max = 2.
Additional charges equivalent to the m-NCUs selected for the graph apply for each replica.
- Parameters:
replicaCount
- The number of replicas in other AZs to provision on the new graph after import. Default = 0, Min = 0, Max = 2.Additional charges equivalent to the m-NCUs selected for the graph apply for each replica.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
Indicates whether or not to enable deletion protection on the graph. The graph can’t be deleted when deletion protection is enabled. (
true
orfalse
).- Parameters:
deletionProtection
- Indicates whether or not to enable deletion protection on the graph. The graph can’t be deleted when deletion protection is enabled. (true
orfalse
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importOptions
Contains options for controlling the import process. For example, if the
failOnError
key is set tofalse
, the import skips problem data and attempts to continue (whereas if set totrue
, the default, or if omitted, the import operation halts immediately when an error is encountered.- Parameters:
importOptions
- Contains options for controlling the import process. For example, if thefailOnError
key is set tofalse
, the import skips problem data and attempts to continue (whereas if set totrue
, the default, or if omitted, the import operation halts immediately when an error is encountered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importOptions
default CreateGraphUsingImportTaskRequest.Builder importOptions(Consumer<ImportOptions.Builder> importOptions) Contains options for controlling the import process. For example, if the
This is a convenience method that creates an instance of thefailOnError
key is set tofalse
, the import skips problem data and attempts to continue (whereas if set totrue
, the default, or if omitted, the import operation halts immediately when an error is encountered.ImportOptions.Builder
avoiding the need to create one manually viaImportOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimportOptions(ImportOptions)
.- Parameters:
importOptions
- a consumer that will call methods onImportOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxProvisionedMemory
The maximum provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Default: 1024, or the approved upper limit for your account.
If both the minimum and maximum values are specified, the final
provisioned-memory
will be chosen per the actual size of your imported data. If neither value is specified, 128 m-NCUs are used.- Parameters:
maxProvisionedMemory
- The maximum provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Default: 1024, or the approved upper limit for your account.If both the minimum and maximum values are specified, the final
provisioned-memory
will be chosen per the actual size of your imported data. If neither value is specified, 128 m-NCUs are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minProvisionedMemory
The minimum provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Default: 16
- Parameters:
minProvisionedMemory
- The minimum provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Default: 16- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failOnError
If set to
true
, the task halts when an import error is encountered. If set tofalse
, the task skips the data that caused the error and continues if possible.- Parameters:
failOnError
- If set totrue
, the task halts when an import error is encountered. If set tofalse
, the task skips the data that caused the error and continues if possible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
A URL identifying to the location of the data to be imported. This can be an Amazon S3 path, or can point to a Neptune database endpoint or snapshot.
- Parameters:
source
- A URL identifying to the location of the data to be imported. This can be an Amazon S3 path, or can point to a Neptune database endpoint or snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
Specifies the format of S3 data to be imported. Valid values are
CSV
, which identifies the Gremlin CSV format,OPEN_CYPHER
, which identifies the openCypher load format, orntriples
, which identifies the RDF n-triples format.- Parameters:
format
- Specifies the format of S3 data to be imported. Valid values areCSV
, which identifies the Gremlin CSV format,OPEN_CYPHER
, which identifies the openCypher load format, orntriples
, which identifies the RDF n-triples format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
Specifies the format of S3 data to be imported. Valid values are
CSV
, which identifies the Gremlin CSV format,OPEN_CYPHER
, which identifies the openCypher load format, orntriples
, which identifies the RDF n-triples format.- Parameters:
format
- Specifies the format of S3 data to be imported. Valid values areCSV
, which identifies the Gremlin CSV format,OPEN_CYPHER
, which identifies the openCypher load format, orntriples
, which identifies the RDF n-triples format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parquetType
The parquet type of the import task.
- Parameters:
parquetType
- The parquet type of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parquetType
The parquet type of the import task.
- Parameters:
parquetType
- The parquet type of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blankNodeHandling
The method to handle blank nodes in the dataset. Currently, only
convertToIri
is supported, meaning blank nodes are converted to unique IRIs at load time. Must be provided when format isntriples
. For more information, see Handling RDF values.- Parameters:
blankNodeHandling
- The method to handle blank nodes in the dataset. Currently, onlyconvertToIri
is supported, meaning blank nodes are converted to unique IRIs at load time. Must be provided when format isntriples
. For more information, see Handling RDF values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blankNodeHandling
The method to handle blank nodes in the dataset. Currently, only
convertToIri
is supported, meaning blank nodes are converted to unique IRIs at load time. Must be provided when format isntriples
. For more information, see Handling RDF values.- Parameters:
blankNodeHandling
- The method to handle blank nodes in the dataset. Currently, onlyconvertToIri
is supported, meaning blank nodes are converted to unique IRIs at load time. Must be provided when format isntriples
. For more information, see Handling RDF values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The ARN of the IAM role that will allow access to the data that is to be imported.
- Parameters:
roleArn
- The ARN of the IAM role that will allow access to the data that is to be imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateGraphUsingImportTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateGraphUsingImportTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-