Interface StartImportTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StartImportTaskResponse.Builder,
,StartImportTaskResponse> NeptuneGraphResponse.Builder
,SdkBuilder<StartImportTaskResponse.Builder,
,StartImportTaskResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartImportTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the format of Amazon S3 data to be imported.Specifies the format of Amazon S3 data to be imported.The unique identifier of the Neptune Analytics graph.default StartImportTaskResponse.Builder
importOptions
(Consumer<ImportOptions.Builder> importOptions) Sets the value of the ImportOptions property for this object.importOptions
(ImportOptions importOptions) Sets the value of the ImportOptions property for this object.The ARN of the IAM role that will allow access to the data that is to be imported.A URL identifying the location of the data to be imported.The status of the import task.status
(ImportTaskStatus status) The status of the import task.The unique identifier of the import task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
graphId
The unique identifier of the Neptune Analytics graph.
- Parameters:
graphId
- The unique identifier of the Neptune Analytics graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskId
The unique identifier of the import task.
- Parameters:
taskId
- The unique identifier of the import task.- 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:
-
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.
-
status
The status of the import task.
- Parameters:
status
- The status of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the import task.
- Parameters:
status
- The status of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 StartImportTaskResponse.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 theImportOptions.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:
-