Interface CreateGraphUsingImportTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateGraphUsingImportTaskResponse.Builder,CreateGraphUsingImportTaskResponse>,NeptuneGraphResponse.Builder,SdkBuilder<CreateGraphUsingImportTaskResponse.Builder,CreateGraphUsingImportTaskResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateGraphUsingImportTaskResponse
public static interface CreateGraphUsingImportTaskResponse.Builder extends NeptuneGraphResponse.Builder, SdkPojo, CopyableBuilder<CreateGraphUsingImportTaskResponse.Builder,CreateGraphUsingImportTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateGraphUsingImportTaskResponse.Builderformat(String format)Specifies the format of S3 data to be imported.CreateGraphUsingImportTaskResponse.Builderformat(Format format)Specifies the format of S3 data to be imported.CreateGraphUsingImportTaskResponse.BuildergraphId(String graphId)The unique identifier of the Neptune Analytics graph.default CreateGraphUsingImportTaskResponse.BuilderimportOptions(Consumer<ImportOptions.Builder> importOptions)Contains options for controlling the import process.CreateGraphUsingImportTaskResponse.BuilderimportOptions(ImportOptions importOptions)Contains options for controlling the import process.CreateGraphUsingImportTaskResponse.BuilderroleArn(String roleArn)The ARN of the IAM role that will allow access to the data that is to be imported.CreateGraphUsingImportTaskResponse.Buildersource(String source)A URL identifying to the location of the data to be imported.CreateGraphUsingImportTaskResponse.Builderstatus(String status)The status of the import task.CreateGraphUsingImportTaskResponse.Builderstatus(ImportTaskStatus status)The status of the import task.CreateGraphUsingImportTaskResponse.BuildertaskId(String taskId)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 Detail
-
graphId
CreateGraphUsingImportTaskResponse.Builder graphId(String 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
CreateGraphUsingImportTaskResponse.Builder taskId(String 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
CreateGraphUsingImportTaskResponse.Builder source(String 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
CreateGraphUsingImportTaskResponse.Builder format(String format)
Specifies the format of S3 data to be imported. Valid values are
CSV, which identifies the Gremlin CSV format orOPENCYPHER, which identies the openCypher load format.- Parameters:
format- Specifies the format of S3 data to be imported. Valid values areCSV, which identifies the Gremlin CSV format orOPENCYPHER, which identies the openCypher load format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Format,Format
-
format
CreateGraphUsingImportTaskResponse.Builder format(Format format)
Specifies the format of S3 data to be imported. Valid values are
CSV, which identifies the Gremlin CSV format orOPENCYPHER, which identies the openCypher load format.- Parameters:
format- Specifies the format of S3 data to be imported. Valid values areCSV, which identifies the Gremlin CSV format orOPENCYPHER, which identies the openCypher load format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Format,Format
-
roleArn
CreateGraphUsingImportTaskResponse.Builder roleArn(String 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
CreateGraphUsingImportTaskResponse.Builder status(String 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:
ImportTaskStatus,ImportTaskStatus
-
status
CreateGraphUsingImportTaskResponse.Builder status(ImportTaskStatus 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:
ImportTaskStatus,ImportTaskStatus
-
importOptions
CreateGraphUsingImportTaskResponse.Builder importOptions(ImportOptions importOptions)
Contains options for controlling the import process. For example, if the
failOnErrorkey 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 thefailOnErrorkey 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 CreateGraphUsingImportTaskResponse.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 thefailOnErrorkey 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.Builderavoiding the need to create one manually viaImportOptions.builder().When the
Consumercompletes,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:
importOptions(ImportOptions)
-
-