Class DataCollectionDetails
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhubstrategy.model.DataCollectionDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataCollectionDetails.Builder,DataCollectionDetails>
@Generated("software.amazon.awssdk:codegen") public final class DataCollectionDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataCollectionDetails.Builder,DataCollectionDetails>
Detailed information about an assessment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataCollectionDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataCollectionDetails.Builderbuilder()InstantcompletionTime()The time the assessment completes.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Integerfailed()The number of failed servers in the assessment.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerinProgress()The number of servers with the assessment statusIN_PROGESS.List<SdkField<?>>sdkFields()static Class<? extends DataCollectionDetails.Builder>serializableBuilderClass()Integerservers()The total number of servers in the assessment.InstantstartTime()The start time of assessment.AssessmentStatusstatus()The status of the assessment.StringstatusAsString()The status of the assessment.StringstatusMessage()The status message of the assessment.Integersuccess()The number of successful servers in the assessment.DataCollectionDetails.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
-
completionTime
public final Instant completionTime()
The time the assessment completes.
- Returns:
- The time the assessment completes.
-
failed
public final Integer failed()
The number of failed servers in the assessment.
- Returns:
- The number of failed servers in the assessment.
-
inProgress
public final Integer inProgress()
The number of servers with the assessment status
IN_PROGESS.- Returns:
- The number of servers with the assessment status
IN_PROGESS.
-
servers
public final Integer servers()
The total number of servers in the assessment.
- Returns:
- The total number of servers in the assessment.
-
startTime
public final Instant startTime()
The start time of assessment.
- Returns:
- The start time of assessment.
-
status
public final AssessmentStatus status()
The status of the assessment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAssessmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the assessment.
- See Also:
AssessmentStatus
-
statusAsString
public final String statusAsString()
The status of the assessment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAssessmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the assessment.
- See Also:
AssessmentStatus
-
statusMessage
public final String statusMessage()
The status message of the assessment.
- Returns:
- The status message of the assessment.
-
success
public final Integer success()
The number of successful servers in the assessment.
- Returns:
- The number of successful servers in the assessment.
-
toBuilder
public DataCollectionDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataCollectionDetails.Builder,DataCollectionDetails>
-
builder
public static DataCollectionDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataCollectionDetails.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.
-
-