Class StartImportTaskRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphRequest
-
- software.amazon.awssdk.services.neptunegraph.model.StartImportTaskRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartImportTaskRequest extends NeptuneGraphRequest implements ToCopyableBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartImportTaskRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartImportTaskRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanfailOnError()If set to true, the task halts when an import error is encountered.Formatformat()Specifies the format of Amazon S3 data to be imported.StringformatAsString()Specifies the format of Amazon S3 data to be imported.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgraphIdentifier()The unique identifier of the Neptune Analytics graph.inthashCode()ImportOptionsimportOptions()Returns the value of the ImportOptions property for this object.StringroleArn()The ARN of the IAM role that will allow access to the data that is to be imported.List<SdkField<?>>sdkFields()static Class<? extends StartImportTaskRequest.Builder>serializableBuilderClass()Stringsource()A URL identifying the location of the data to be imported.StartImportTaskRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
importOptions
public final ImportOptions importOptions()
Returns the value of the ImportOptions property for this object.- Returns:
- The value of the ImportOptions property for this object.
-
failOnError
public final 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.
- Returns:
- 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.
-
source
public final 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.
- Returns:
- 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.
-
format
public final 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.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- 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.
- See Also:
Format
-
formatAsString
public final String formatAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- 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.
- See Also:
Format
-
graphIdentifier
public final String graphIdentifier()
The unique identifier of the Neptune Analytics graph.
- Returns:
- The unique identifier of the Neptune Analytics graph.
-
roleArn
public final String roleArn()
The ARN of the IAM role that will allow access to the data that is to be imported.
- Returns:
- The ARN of the IAM role that will allow access to the data that is to be imported.
-
toBuilder
public StartImportTaskRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>- Specified by:
toBuilderin classNeptuneGraphRequest
-
builder
public static StartImportTaskRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartImportTaskRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-