@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) |
String |
errorCode()
Errors that AWS 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 AWS 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Long |
transferDuration()
The total time in milliseconds that AWS 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 AWS DataSync spent in the VERIFYING phase.
|
PhaseStatus |
verifyStatus()
The status of the VERIFYING Phase.
|
String |
verifyStatusAsString()
The status of the VERIFYING Phase.
|
copy
public Long prepareDuration()
The total time in milliseconds that AWS DataSync spent in the PREPARING phase.
public 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()
.
PhaseStatus
public 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()
.
PhaseStatus
public Long transferDuration()
The total time in milliseconds that AWS DataSync spent in the TRANSFERRING phase.
public 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()
.
PhaseStatus
public 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()
.
PhaseStatus
public Long verifyDuration()
The total time in milliseconds that AWS DataSync spent in the VERIFYING phase.
public 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()
.
PhaseStatus
public 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()
.
PhaseStatus
public String errorCode()
Errors that AWS DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TaskExecutionResultDetail.Builder,TaskExecutionResultDetail>
public static TaskExecutionResultDetail.Builder builder()
public static Class<? extends TaskExecutionResultDetail.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.