Class StartImportTaskResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphResponse
-
- software.amazon.awssdk.services.neptunegraph.model.StartImportTaskResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartImportTaskResponse.Builder,StartImportTaskResponse>
@Generated("software.amazon.awssdk:codegen") public final class StartImportTaskResponse extends NeptuneGraphResponse implements ToCopyableBuilder<StartImportTaskResponse.Builder,StartImportTaskResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartImportTaskResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartImportTaskResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)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)StringgraphId()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 StartImportTaskResponse.Builder>serializableBuilderClass()Stringsource()A URL identifying the location of the data to be imported.ImportTaskStatusstatus()The status of the import task.StringstatusAsString()The status of the import task.StringtaskId()The unique identifier of the import task.StartImportTaskResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
graphId
public final String graphId()
The unique identifier of the Neptune Analytics graph.
- Returns:
- The unique identifier of the Neptune Analytics graph.
-
taskId
public final String taskId()
The unique identifier of the import task.
- Returns:
- The unique identifier of the import task.
-
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
-
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.
-
status
public final ImportTaskStatus status()
The status of the import task.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the import task.
- See Also:
ImportTaskStatus
-
statusAsString
public final String statusAsString()
The status of the import task.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the import task.
- See Also:
ImportTaskStatus
-
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.
-
toBuilder
public StartImportTaskResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartImportTaskResponse.Builder,StartImportTaskResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static StartImportTaskResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartImportTaskResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-