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>
Provides detailed information about the result of your DataSync task execution.
- 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()An error that DataSync encountered during your task execution.StringerrorDetail()The detailed description of an error that DataSync encountered during your task execution.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongprepareDuration()The time in milliseconds that your task execution was in thePREPARINGstep.PhaseStatusprepareStatus()The status of thePREPARINGstep for your task execution.StringprepareStatusAsString()The status of thePREPARINGstep for your task execution.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TaskExecutionResultDetail.Builder>serializableBuilderClass()TaskExecutionResultDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongtotalDuration()The time in milliseconds that your task execution ran.LongtransferDuration()The time in milliseconds that your task execution was in theTRANSFERRINGstep.PhaseStatustransferStatus()The status of theTRANSFERRINGstep for your task execution.StringtransferStatusAsString()The status of theTRANSFERRINGstep for your task execution.LongverifyDuration()The time in milliseconds that your task execution was in theVERIFYINGstep.PhaseStatusverifyStatus()The status of theVERIFYINGstep for your task execution.StringverifyStatusAsString()The status of theVERIFYINGstep for your task execution.-
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 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
public final PhaseStatus 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:
PhaseStatus
-
prepareStatusAsString
public final String 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:
PhaseStatus
-
totalDuration
public final Long totalDuration()
The time in milliseconds that your task execution ran.
- Returns:
- The time in milliseconds that your task execution ran.
-
transferDuration
public final Long 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
public final PhaseStatus 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:
PhaseStatus
-
transferStatusAsString
public final String 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:
PhaseStatus
-
verifyDuration
public final Long 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
public final PhaseStatus 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:
PhaseStatus
-
verifyStatusAsString
public final String 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:
PhaseStatus
-
errorCode
public final String 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
public final String 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
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-