Class ReportResult
- java.lang.Object
-
- software.amazon.awssdk.services.datasync.model.ReportResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReportResult.Builder,ReportResult>
@Generated("software.amazon.awssdk:codegen") public final class ReportResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReportResult.Builder,ReportResult>
Indicates whether DataSync created a complete task report for your transfer.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReportResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReportResult.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()Indicates the code associated with the error if DataSync can't create a complete report.StringerrorDetail()Provides details about issues creating a report.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ReportResult.Builder>serializableBuilderClass()PhaseStatusstatus()Indicates whether DataSync is still working on your report, created a report, or can't create a complete report.StringstatusAsString()Indicates whether DataSync is still working on your report, created a report, or can't create a complete report.ReportResult.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
status
public final PhaseStatus status()
Indicates whether DataSync is still working on your report, created a report, or can't create a complete report.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnPhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Indicates whether DataSync is still working on your report, created a report, or can't create a complete report.
- See Also:
PhaseStatus
-
statusAsString
public final String statusAsString()
Indicates whether DataSync is still working on your report, created a report, or can't create a complete report.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnPhaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Indicates whether DataSync is still working on your report, created a report, or can't create a complete report.
- See Also:
PhaseStatus
-
errorCode
public final String errorCode()
Indicates the code associated with the error if DataSync can't create a complete report.
- Returns:
- Indicates the code associated with the error if DataSync can't create a complete report.
-
errorDetail
public final String errorDetail()
Provides details about issues creating a report.
- Returns:
- Provides details about issues creating a report.
-
toBuilder
public ReportResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReportResult.Builder,ReportResult>
-
builder
public static ReportResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReportResult.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.
-
-