@Generated(value="software.amazon.awssdk:codegen") public final class TaskExecutionResultDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskExecutionResultDetail.Builder,TaskExecutionResultDetail>
Describes the detailed result of a TaskExecution operation. This result includes the time in
milliseconds spent in each phase, the status of the task execution, and the errors encountered.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TaskExecutionResultDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TaskExecutionResultDetail.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorCode()
Errors that DataSync encountered during execution of the task.
|
String |
errorDetail()
Detailed description of an error that was encountered during the task execution.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
prepareDuration()
The total time in milliseconds that DataSync spent in the PREPARING phase.
|
PhaseStatus |
prepareStatus()
The status of the PREPARING phase.
|
String |
prepareStatusAsString()
The status of the PREPARING phase.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TaskExecutionResultDetail.Builder> |
serializableBuilderClass() |
TaskExecutionResultDetail.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Long |
totalDuration()
The total time in milliseconds that DataSync took to transfer the file from the source to the destination
location.
|
Long |
transferDuration()
The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
|
PhaseStatus |
transferStatus()
The status of the TRANSFERRING phase.
|
String |
transferStatusAsString()
The status of the TRANSFERRING phase.
|
Long |
verifyDuration()
The total time in milliseconds that DataSync spent in the VERIFYING phase.
|
PhaseStatus |
verifyStatus()
The status of the VERIFYING phase.
|
String |
verifyStatusAsString()
The status of the VERIFYING phase.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long prepareDuration()
The total time in milliseconds that DataSync spent in the PREPARING phase.
public final PhaseStatus prepareStatus()
The status of the PREPARING phase.
If the service returns an enum value that is not available in the current SDK version, prepareStatus
will return PhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
prepareStatusAsString().
PhaseStatuspublic final String prepareStatusAsString()
The status of the PREPARING phase.
If the service returns an enum value that is not available in the current SDK version, prepareStatus
will return PhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
prepareStatusAsString().
PhaseStatuspublic final Long totalDuration()
The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.
public final Long transferDuration()
The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
public final PhaseStatus transferStatus()
The status of the TRANSFERRING phase.
If the service returns an enum value that is not available in the current SDK version, transferStatus
will return PhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
transferStatusAsString().
PhaseStatuspublic final String transferStatusAsString()
The status of the TRANSFERRING phase.
If the service returns an enum value that is not available in the current SDK version, transferStatus
will return PhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
transferStatusAsString().
PhaseStatuspublic final Long verifyDuration()
The total time in milliseconds that DataSync spent in the VERIFYING phase.
public final PhaseStatus verifyStatus()
The status of the VERIFYING phase.
If the service returns an enum value that is not available in the current SDK version, verifyStatus will
return PhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
verifyStatusAsString().
PhaseStatuspublic final String verifyStatusAsString()
The status of the VERIFYING phase.
If the service returns an enum value that is not available in the current SDK version, verifyStatus will
return PhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
verifyStatusAsString().
PhaseStatuspublic final String errorCode()
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
public final String errorDetail()
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
public TaskExecutionResultDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TaskExecutionResultDetail.Builder,TaskExecutionResultDetail>public static TaskExecutionResultDetail.Builder builder()
public static Class<? extends TaskExecutionResultDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.