Class PhaseStatus
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemigration.model.PhaseStatus
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230518") public final class PhaseStatus extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Job phase status details.
Note: Objects should always be created or deserialized using thePhaseStatus.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of thePhaseStatus.Builder
, which maintain a set of all explicitly set fields calledPhaseStatus.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PhaseStatus.Builder
-
Constructor Summary
Constructors Constructor Description PhaseStatus(OdmsJobPhases name, JobPhaseStatus status, Integer durationInMs, Boolean isAdvisorReportAvailable, String issue, String action, List<PhaseExtractEntry> extract, LogLocationBucketDetails logLocation, Integer progress, Boolean isSuspendAvailable, List<JobParameterFileVersionKind> editableParameterFiles)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhaseStatus.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAction()
The text describing the action required to fix the issueInteger
getDurationInMs()
Duration of the phase in millisecondsList<JobParameterFileVersionKind>
getEditableParameterFiles()
Attribute that returns an array of names and types of GoldenGate configuration files that are available for read or update.List<PhaseExtractEntry>
getExtract()
Summary of phase status results.Boolean
getIsAdvisorReportAvailable()
True if a Pre-Migration Advisor report is available for this phase.String
getIssue()
The text describing the root cause of the reported issueBoolean
getIsSuspendAvailable()
This is returned as true if the current phase can be suspended.LogLocationBucketDetails
getLogLocation()
OdmsJobPhases
getName()
Phase nameInteger
getProgress()
Percent progress of job phase.JobPhaseStatus
getStatus()
Phase statusint
hashCode()
PhaseStatus.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
PhaseStatus
@Deprecated @ConstructorProperties({"name","status","durationInMs","isAdvisorReportAvailable","issue","action","extract","logLocation","progress","isSuspendAvailable","editableParameterFiles"}) public PhaseStatus(OdmsJobPhases name, JobPhaseStatus status, Integer durationInMs, Boolean isAdvisorReportAvailable, String issue, String action, List<PhaseExtractEntry> extract, LogLocationBucketDetails logLocation, Integer progress, Boolean isSuspendAvailable, List<JobParameterFileVersionKind> editableParameterFiles)
Deprecated.
-
-
Method Detail
-
builder
public static PhaseStatus.Builder builder()
Create a new builder.
-
toBuilder
public PhaseStatus.Builder toBuilder()
-
getName
public OdmsJobPhases getName()
Phase name- Returns:
- the value
-
getStatus
public JobPhaseStatus getStatus()
Phase status- Returns:
- the value
-
getDurationInMs
public Integer getDurationInMs()
Duration of the phase in milliseconds- Returns:
- the value
-
getIsAdvisorReportAvailable
public Boolean getIsAdvisorReportAvailable()
True if a Pre-Migration Advisor report is available for this phase.False or null if no report is available.
- Returns:
- the value
-
getIssue
public String getIssue()
The text describing the root cause of the reported issue- Returns:
- the value
-
getAction
public String getAction()
The text describing the action required to fix the issue- Returns:
- the value
-
getExtract
public List<PhaseExtractEntry> getExtract()
Summary of phase status results.- Returns:
- the value
-
getLogLocation
public LogLocationBucketDetails getLogLocation()
-
getProgress
public Integer getProgress()
Percent progress of job phase.- Returns:
- the value
-
getIsSuspendAvailable
public Boolean getIsSuspendAvailable()
This is returned as true if the current phase can be suspended.- Returns:
- the value
-
getEditableParameterFiles
public List<JobParameterFileVersionKind> getEditableParameterFiles()
Attribute that returns an array of names and types of GoldenGate configuration files that are available for read or update.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-