Class TaskExecutionResultDetail
- java.lang.Object
-
- software.amazon.awssdk.services.datasync.model.TaskExecutionResultDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaskExecutionResultDetail.Builder,TaskExecutionResultDetail>
@Generated("software.amazon.awssdk:codegen") public final class TaskExecutionResultDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskExecutionResultDetail.Builder,TaskExecutionResultDetail>
Describes the detailed result of a
TaskExecutionoperation. This result includes the time in milliseconds spent in each phase, the status of the task execution, and the errors encountered.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTaskExecutionResultDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskExecutionResultDetail.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()Errors that DataSync encountered during execution of the task.StringerrorDetail()Detailed description of an error that was encountered during the task execution.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongprepareDuration()The total time in milliseconds that DataSync spent in the PREPARING phase.PhaseStatusprepareStatus()The status of the PREPARING phase.StringprepareStatusAsString()The status of the PREPARING phase.List<SdkField<?>>sdkFields()static Class<? extends TaskExecutionResultDetail.Builder>serializableBuilderClass()TaskExecutionResultDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongtotalDuration()The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.LongtransferDuration()The total time in milliseconds that DataSync spent in the TRANSFERRING phase.PhaseStatustransferStatus()The status of the TRANSFERRING phase.StringtransferStatusAsString()The status of the TRANSFERRING phase.LongverifyDuration()The total time in milliseconds that DataSync spent in the VERIFYING phase.PhaseStatusverifyStatus()The status of the VERIFYING phase.StringverifyStatusAsString()The status of the VERIFYING phase.-
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
-
prepareDuration
public final Long prepareDuration()
The total time in milliseconds that DataSync spent in the PREPARING phase.
- Returns:
- The total time in milliseconds that DataSync spent in the PREPARING phase.
-
prepareStatus
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,
prepareStatuswill returnPhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprepareStatusAsString().- Returns:
- The status of the PREPARING phase.
- See Also:
PhaseStatus
-
prepareStatusAsString
public 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,
prepareStatuswill returnPhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprepareStatusAsString().- Returns:
- The status of the PREPARING phase.
- See Also:
PhaseStatus
-
totalDuration
public final Long totalDuration()
The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.
- Returns:
- The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.
-
transferDuration
public final Long transferDuration()
The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
- Returns:
- The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
-
transferStatus
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,
transferStatuswill returnPhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtransferStatusAsString().- Returns:
- The status of the TRANSFERRING phase.
- See Also:
PhaseStatus
-
transferStatusAsString
public 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,
transferStatuswill returnPhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtransferStatusAsString().- Returns:
- The status of the TRANSFERRING phase.
- See Also:
PhaseStatus
-
verifyDuration
public final Long verifyDuration()
The total time in milliseconds that DataSync spent in the VERIFYING phase.
- Returns:
- The total time in milliseconds that DataSync spent in the VERIFYING phase.
-
verifyStatus
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,
verifyStatuswill returnPhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromverifyStatusAsString().- Returns:
- The status of the VERIFYING phase.
- See Also:
PhaseStatus
-
verifyStatusAsString
public 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,
verifyStatuswill returnPhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromverifyStatusAsString().- Returns:
- The status of the VERIFYING phase.
- See Also:
PhaseStatus
-
errorCode
public final String errorCode()
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
- Returns:
- Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
-
errorDetail
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.
- Returns:
- Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
-
toBuilder
public TaskExecutionResultDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TaskExecutionResultDetail.Builder,TaskExecutionResultDetail>
-
builder
public static TaskExecutionResultDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends TaskExecutionResultDetail.Builder> serializableBuilderClass()
-
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.
-
-