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 boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
An error that DataSync encountered during your task execution.final String
The detailed description of an error that DataSync encountered during your task execution.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Long
The time in milliseconds that your task execution was in thePREPARING
step.final PhaseStatus
The status of thePREPARING
step for your task execution.final String
The status of thePREPARING
step 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 String
toString()
Returns a string representation of this object.final Long
The time in milliseconds that your task execution ran.final Long
The time in milliseconds that your task execution was in theTRANSFERRING
step.final PhaseStatus
The status of theTRANSFERRING
step for your task execution.final String
The status of theTRANSFERRING
step for your task execution.final Long
The time in milliseconds that your task execution was in theVERIFYING
step.final PhaseStatus
The status of theVERIFYING
step for your task execution.final String
The status of theVERIFYING
step 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
PREPARING
step. 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
PREPARING
step. 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
PREPARING
step 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,
prepareStatus
will returnPhaseStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprepareStatusAsString()
.- Returns:
- The status of the
PREPARING
step for your task execution. For more information, see Task execution statuses. - See Also:
-
prepareStatusAsString
The status of the
PREPARING
step 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,
prepareStatus
will returnPhaseStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprepareStatusAsString()
.- Returns:
- The status of the
PREPARING
step 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
TRANSFERRING
step. 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
TRANSFERRING
step. 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
TRANSFERRING
step 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,
transferStatus
will returnPhaseStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtransferStatusAsString()
.- Returns:
- The status of the
TRANSFERRING
step for your task execution. For more information, see Task execution statuses. - See Also:
-
transferStatusAsString
The status of the
TRANSFERRING
step 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,
transferStatus
will returnPhaseStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtransferStatusAsString()
.- Returns:
- The status of the
TRANSFERRING
step 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
VERIFYING
step. 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
VERIFYING
step. 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
VERIFYING
step 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,
verifyStatus
will returnPhaseStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromverifyStatusAsString()
.- Returns:
- The status of the
VERIFYING
step for your task execution. For more information, see Task execution statuses. - See Also:
-
verifyStatusAsString
The status of the
VERIFYING
step 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,
verifyStatus
will returnPhaseStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromverifyStatusAsString()
.- Returns:
- The status of the
VERIFYING
step 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TaskExecutionResultDetail.Builder,
TaskExecutionResultDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-