Class TaskExecutionResultDetail
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaskExecutionResultDetail.Builder,TaskExecutionResultDetail>
Provides detailed information about the result of your DataSync task execution.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringAn error that DataSync encountered during your task execution.final StringThe detailed description of an error that DataSync encountered during your task execution.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LongThe time in milliseconds that your task execution was in thePREPARINGstep.final PhaseStatusThe status of thePREPARINGstep for your task execution.final StringThe status of thePREPARINGstep for your task execution.static Class<? extends TaskExecutionResultDetail.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final LongThe time in milliseconds that your task execution ran.final LongThe time in milliseconds that your task execution was in theTRANSFERRINGstep.final PhaseStatusThe status of theTRANSFERRINGstep for your task execution.final StringThe status of theTRANSFERRINGstep for your task execution.final LongThe time in milliseconds that your task execution was in theVERIFYINGstep.final PhaseStatusThe status of theVERIFYINGstep for your task execution.final StringThe status of theVERIFYINGstep for your task execution.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
prepareDuration
The time in milliseconds that your task execution was in the
PREPARINGstep. For more information, see Task execution statuses.For Enhanced mode tasks, the value is always
0. For more information, see How DataSync prepares your data transfer.- Returns:
- The time in milliseconds that your task execution was in the
PREPARINGstep. For more information, see Task execution statuses.For Enhanced mode tasks, the value is always
0. For more information, see How DataSync prepares your data transfer.
-
prepareStatus
The status of the
PREPARINGstep for your task execution. For more information, see Task execution statuses.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
PREPARINGstep for your task execution. For more information, see Task execution statuses. - See Also:
-
prepareStatusAsString
The status of the
PREPARINGstep for your task execution. For more information, see Task execution statuses.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
PREPARINGstep for your task execution. For more information, see Task execution statuses. - See Also:
-
totalDuration
The time in milliseconds that your task execution ran.
- Returns:
- The time in milliseconds that your task execution ran.
-
transferDuration
The time in milliseconds that your task execution was in the
TRANSFERRINGstep. For more information, see Task execution statuses.For Enhanced mode tasks, the value is always
0. For more information, see How DataSync transfers your data.- Returns:
- The time in milliseconds that your task execution was in the
TRANSFERRINGstep. For more information, see Task execution statuses.For Enhanced mode tasks, the value is always
0. For more information, see How DataSync transfers your data.
-
transferStatus
The status of the
TRANSFERRINGstep for your task execution. For more information, see Task execution statuses.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
TRANSFERRINGstep for your task execution. For more information, see Task execution statuses. - See Also:
-
transferStatusAsString
The status of the
TRANSFERRINGstep for your task execution. For more information, see Task execution statuses.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
TRANSFERRINGstep for your task execution. For more information, see Task execution statuses. - See Also:
-
verifyDuration
The time in milliseconds that your task execution was in the
VERIFYINGstep. For more information, see Task execution statuses.For Enhanced mode tasks, the value is always
0. For more information, see How DataSync verifies your data's integrity.- Returns:
- The time in milliseconds that your task execution was in the
VERIFYINGstep. For more information, see Task execution statuses.For Enhanced mode tasks, the value is always
0. For more information, see How DataSync verifies your data's integrity.
-
verifyStatus
The status of the
VERIFYINGstep for your task execution. For more information, see Task execution statuses.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
VERIFYINGstep for your task execution. For more information, see Task execution statuses. - See Also:
-
verifyStatusAsString
The status of the
VERIFYINGstep for your task execution. For more information, see Task execution statuses.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
VERIFYINGstep for your task execution. For more information, see Task execution statuses. - See Also:
-
errorCode
An error that DataSync encountered during your task execution. You can use this information to help troubleshoot issues.
- Returns:
- An error that DataSync encountered during your task execution. You can use this information to help troubleshoot issues.
-
errorDetail
The detailed description of an error that DataSync encountered during your task execution. You can use this information to help troubleshoot issues.
- Returns:
- The detailed description of an error that DataSync encountered during your task execution. You can use this information to help troubleshoot issues.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TaskExecutionResultDetail.Builder,TaskExecutionResultDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-