Class WorkRequestSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.loganalytics.model.WorkRequestSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class WorkRequestSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelHigh level summary of control plane job work request.
 Note: Objects should always be created or deserialized using theWorkRequestSummary.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 theWorkRequestSummary.Builder, which maintain a set of all explicitly set fields calledWorkRequestSummary.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 SummaryNested Classes Modifier and Type Class Description static classWorkRequestSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description WorkRequestSummary(String id, String compartmentId, Date timeStarted, Date timeAccepted, Date timeFinished, Integer percentComplete, WorkRequestStatus status)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkRequestSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).StringgetId()Unique OCID identifier to reference this query job work Request.IntegergetPercentComplete()Percentage progress completion of the query.WorkRequestStatusgetStatus()Work request status.DategetTimeAccepted()When the work request was accepted.DategetTimeFinished()When the work request finished execution.DategetTimeStarted()When the work request started.inthashCode()WorkRequestSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
WorkRequestSummary@Deprecated @ConstructorProperties({"id","compartmentId","timeStarted","timeAccepted","timeFinished","percentComplete","status"}) public WorkRequestSummary(String id, String compartmentId, Date timeStarted, Date timeAccepted, Date timeFinished, Integer percentComplete, WorkRequestStatus status) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static WorkRequestSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic WorkRequestSummary.Builder toBuilder() 
 - 
getIdpublic String getId() Unique OCID identifier to reference this query job work Request.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).- Returns:
- the value
 
 - 
getTimeStartedpublic Date getTimeStarted() When the work request started.- Returns:
- the value
 
 - 
getTimeAcceptedpublic Date getTimeAccepted() When the work request was accepted.Should match timeStarted in all cases. - Returns:
- the value
 
 - 
getTimeFinishedpublic Date getTimeFinished() When the work request finished execution.- Returns:
- the value
 
 - 
getPercentCompletepublic Integer getPercentComplete() Percentage progress completion of the query.- Returns:
- the value
 
 - 
getStatuspublic WorkRequestStatus getStatus() Work request status.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-