@Generated(value="software.amazon.awssdk:codegen") public final class CancelDataRepositoryTaskResponse extends FSxResponse implements ToCopyableBuilder<CancelDataRepositoryTaskResponse.Builder,CancelDataRepositoryTaskResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CancelDataRepositoryTaskResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CancelDataRepositoryTaskResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
DataRepositoryTaskLifecycle |
lifecycle()
The lifecycle status of the data repository task, as follows:
|
String |
lifecycleAsString()
The lifecycle status of the data repository task, as follows:
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CancelDataRepositoryTaskResponse.Builder> |
serializableBuilderClass() |
String |
taskId()
The ID of the task being canceled.
|
CancelDataRepositoryTaskResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DataRepositoryTaskLifecycle lifecycle()
The lifecycle status of the data repository task, as follows:
PENDING - Amazon FSx has not started the task.
EXECUTING - Amazon FSx is processing the task.
FAILED - Amazon FSx was not able to complete the task. For example, there may be files the task
failed to process. The DataRepositoryTaskFailureDetails property provides more information about task
failures.
SUCCEEDED - FSx completed the task successfully.
CANCELED - Amazon FSx canceled the task and it did not complete.
CANCELING - FSx is in process of canceling the task.
If the service returns an enum value that is not available in the current SDK version, lifecycle will
return DataRepositoryTaskLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from lifecycleAsString().
PENDING - Amazon FSx has not started the task.
EXECUTING - Amazon FSx is processing the task.
FAILED - Amazon FSx was not able to complete the task. For example, there may be files the
task failed to process. The DataRepositoryTaskFailureDetails property provides more information
about task failures.
SUCCEEDED - FSx completed the task successfully.
CANCELED - Amazon FSx canceled the task and it did not complete.
CANCELING - FSx is in process of canceling the task.
DataRepositoryTaskLifecyclepublic final String lifecycleAsString()
The lifecycle status of the data repository task, as follows:
PENDING - Amazon FSx has not started the task.
EXECUTING - Amazon FSx is processing the task.
FAILED - Amazon FSx was not able to complete the task. For example, there may be files the task
failed to process. The DataRepositoryTaskFailureDetails property provides more information about task
failures.
SUCCEEDED - FSx completed the task successfully.
CANCELED - Amazon FSx canceled the task and it did not complete.
CANCELING - FSx is in process of canceling the task.
If the service returns an enum value that is not available in the current SDK version, lifecycle will
return DataRepositoryTaskLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from lifecycleAsString().
PENDING - Amazon FSx has not started the task.
EXECUTING - Amazon FSx is processing the task.
FAILED - Amazon FSx was not able to complete the task. For example, there may be files the
task failed to process. The DataRepositoryTaskFailureDetails property provides more information
about task failures.
SUCCEEDED - FSx completed the task successfully.
CANCELED - Amazon FSx canceled the task and it did not complete.
CANCELING - FSx is in process of canceling the task.
DataRepositoryTaskLifecyclepublic final String taskId()
The ID of the task being canceled.
public CancelDataRepositoryTaskResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CancelDataRepositoryTaskResponse.Builder,CancelDataRepositoryTaskResponse>toBuilder in class AwsResponsepublic static CancelDataRepositoryTaskResponse.Builder builder()
public static Class<? extends CancelDataRepositoryTaskResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.