Interface StartImportTaskRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>,NeptuneGraphRequest.Builder,SdkBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartImportTaskRequest
public static interface StartImportTaskRequest.Builder extends NeptuneGraphRequest.Builder, SdkPojo, CopyableBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartImportTaskRequest.BuilderfailOnError(Boolean failOnError)If set to true, the task halts when an import error is encountered.StartImportTaskRequest.Builderformat(String format)Specifies the format of Amazon S3 data to be imported.StartImportTaskRequest.Builderformat(Format format)Specifies the format of Amazon S3 data to be imported.StartImportTaskRequest.BuildergraphIdentifier(String graphIdentifier)The unique identifier of the Neptune Analytics graph.default StartImportTaskRequest.BuilderimportOptions(Consumer<ImportOptions.Builder> importOptions)Sets the value of the ImportOptions property for this object.StartImportTaskRequest.BuilderimportOptions(ImportOptions importOptions)Sets the value of the ImportOptions property for this object.StartImportTaskRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartImportTaskRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartImportTaskRequest.BuilderroleArn(String roleArn)The ARN of the IAM role that will allow access to the data that is to be imported.StartImportTaskRequest.Buildersource(String source)A URL identifying the location of the data to be imported.-
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, sdkFields
-
-
-
-
Method Detail
-
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 theImportOptions.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)
-
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
StartImportTaskRequest.Builder source(String 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
StartImportTaskRequest.Builder format(String 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,Format
-
format
StartImportTaskRequest.Builder format(Format 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,Format
-
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
StartImportTaskRequest.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.
-
overrideConfiguration
StartImportTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartImportTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-