Interface StartImportTaskRequest.Builder

  • Method Details

    • importOptions

      StartImportTaskRequest.Builder importOptions(ImportOptions importOptions)
      Sets the value of the ImportOptions property for this object.
      Parameters:
      importOptions - The new value for the ImportOptions property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importOptions

      default StartImportTaskRequest.Builder importOptions(Consumer<ImportOptions.Builder> importOptions)
      Sets the value of the ImportOptions property for this object. This is a convenience method that creates an instance of the ImportOptions.Builder avoiding the need to create one manually via ImportOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to importOptions(ImportOptions).

      Parameters:
      importOptions - a consumer that will call methods on ImportOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failOnError

      StartImportTaskRequest.Builder failOnError(Boolean failOnError)

      If set to true, the task halts when an import error is encountered. If set to false, the task skips the data that caused the error and continues if possible.

      Parameters:
      failOnError - If set to true, the task halts when an import error is encountered. If set to false, 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 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 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 Amazon S3 data to be imported. Valid values are CSV, which identifies the Gremlin CSV format or OPENCYPHER, which identies the openCypher load format.

      Parameters:
      format - Specifies the format of Amazon S3 data to be imported. Valid values are CSV, which identifies the Gremlin CSV format or OPENCYPHER, which identies the openCypher load format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      Specifies the format of Amazon S3 data to be imported. Valid values are CSV, which identifies the Gremlin CSV format or OPENCYPHER, which identies the openCypher load format.

      Parameters:
      format - Specifies the format of Amazon S3 data to be imported. Valid values are CSV, which identifies the Gremlin CSV format or OPENCYPHER, which identies the openCypher load format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • parquetType

      StartImportTaskRequest.Builder parquetType(String 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

      StartImportTaskRequest.Builder parquetType(ParquetType 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

      StartImportTaskRequest.Builder blankNodeHandling(String 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 is ntriples. For more information, see Handling RDF values.

      Parameters:
      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 is ntriples. 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

      StartImportTaskRequest.Builder blankNodeHandling(BlankNodeHandling 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 is ntriples. For more information, see Handling RDF values.

      Parameters:
      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 is ntriples. For more information, see Handling RDF values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • graphIdentifier

      StartImportTaskRequest.Builder graphIdentifier(String graphIdentifier)

      The unique identifier of the Neptune Analytics graph.

      Parameters:
      graphIdentifier - The unique identifier of the Neptune Analytics graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      StartImportTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.