Class CancelImportTaskResponse
- 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.CancelImportTaskResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CancelImportTaskResponse.Builder,CancelImportTaskResponse>
@Generated("software.amazon.awssdk:codegen") public final class CancelImportTaskResponse extends NeptuneGraphResponse implements ToCopyableBuilder<CancelImportTaskResponse.Builder,CancelImportTaskResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCancelImportTaskResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CancelImportTaskResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Formatformat()Specifies the format of S3 data to be imported.StringformatAsString()Specifies the format of S3 data to be imported.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgraphId()The unique identifier of the Neptune Analytics graph.inthashCode()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 CancelImportTaskResponse.Builder>serializableBuilderClass()Stringsource()A URL identifying to the location of the data to be imported.ImportTaskStatusstatus()Current status of the task.StringstatusAsString()Current status of the task.StringtaskId()The unique identifier of the import task.CancelImportTaskResponse.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 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:
- 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
-
format
public final 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.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 S3 data to be imported. Valid values are
CSV, which identifies the Gremlin CSV format orOPENCYPHER, which identies the openCypher load format. - See Also:
Format
-
formatAsString
public final String formatAsString()
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.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 S3 data to be imported. Valid values are
CSV, which identifies the Gremlin CSV format orOPENCYPHER, 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()
Current status of the task. Status is CANCELLING when the import task is cancelled.
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:
- Current status of the task. Status is CANCELLING when the import task is cancelled.
- See Also:
ImportTaskStatus
-
statusAsString
public final String statusAsString()
Current status of the task. Status is CANCELLING when the import task is cancelled.
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:
- Current status of the task. Status is CANCELLING when the import task is cancelled.
- See Also:
ImportTaskStatus
-
toBuilder
public CancelImportTaskResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CancelImportTaskResponse.Builder,CancelImportTaskResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CancelImportTaskResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CancelImportTaskResponse.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
-
-