Class OptimizerStatisticsCollectionOperationSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.OptimizerStatisticsCollectionOperationSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class OptimizerStatisticsCollectionOperationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The summary of the Optimizer Statistics Collection operation.
Note: Objects should always be created or deserialized using theOptimizerStatisticsCollectionOperationSummary.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 theOptimizerStatisticsCollectionOperationSummary.Builder
, which maintain a set of all explicitly set fields calledOptimizerStatisticsCollectionOperationSummary.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
OptimizerStatisticsCollectionOperationSummary.Builder
static class
OptimizerStatisticsCollectionOperationSummary.Status
The status of the operation such as Completed, and Failed.
-
Constructor Summary
Constructors Constructor Description OptimizerStatisticsCollectionOperationSummary(Integer id, String operationName, String target, String jobName, OptimizerStatisticsCollectionOperationSummary.Status status, String startTime, String endTime, BigDecimal durationInSeconds, Integer completedCount, Integer inProgressCount, Integer failedCount, Integer timedOutCount, Integer totalObjectsCount)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OptimizerStatisticsCollectionOperationSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getCompletedCount()
The number of objects for which statistics collection is completed.BigDecimal
getDurationInSeconds()
The time it takes to complete the operation (in seconds).String
getEndTime()
The end time of the operation.Integer
getFailedCount()
The number of objects for which statistics collection failed.Integer
getId()
The ID of the operation.Integer
getInProgressCount()
The number of objects for which statistics collection is in progress.String
getJobName()
The name of the job.String
getOperationName()
The name of the operation.String
getStartTime()
The start time of the operation.OptimizerStatisticsCollectionOperationSummary.Status
getStatus()
The status of the operation such as Completed, and Failed.String
getTarget()
The target object type such as Table, Index, and Partition.Integer
getTimedOutCount()
The number of objects for which statistics collection timed out.Integer
getTotalObjectsCount()
The total number of objects for which statistics is collected.int
hashCode()
OptimizerStatisticsCollectionOperationSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
OptimizerStatisticsCollectionOperationSummary
@Deprecated @ConstructorProperties({"id","operationName","target","jobName","status","startTime","endTime","durationInSeconds","completedCount","inProgressCount","failedCount","timedOutCount","totalObjectsCount"}) public OptimizerStatisticsCollectionOperationSummary(Integer id, String operationName, String target, String jobName, OptimizerStatisticsCollectionOperationSummary.Status status, String startTime, String endTime, BigDecimal durationInSeconds, Integer completedCount, Integer inProgressCount, Integer failedCount, Integer timedOutCount, Integer totalObjectsCount)
Deprecated.
-
-
Method Detail
-
builder
public static OptimizerStatisticsCollectionOperationSummary.Builder builder()
Create a new builder.
-
toBuilder
public OptimizerStatisticsCollectionOperationSummary.Builder toBuilder()
-
getId
public Integer getId()
The ID of the operation.- Returns:
- the value
-
getOperationName
public String getOperationName()
The name of the operation.- Returns:
- the value
-
getTarget
public String getTarget()
The target object type such as Table, Index, and Partition.- Returns:
- the value
-
getJobName
public String getJobName()
The name of the job.- Returns:
- the value
-
getStatus
public OptimizerStatisticsCollectionOperationSummary.Status getStatus()
The status of the operation such as Completed, and Failed.- Returns:
- the value
-
getStartTime
public String getStartTime()
The start time of the operation.- Returns:
- the value
-
getEndTime
public String getEndTime()
The end time of the operation.- Returns:
- the value
-
getDurationInSeconds
public BigDecimal getDurationInSeconds()
The time it takes to complete the operation (in seconds).- Returns:
- the value
-
getCompletedCount
public Integer getCompletedCount()
The number of objects for which statistics collection is completed.- Returns:
- the value
-
getInProgressCount
public Integer getInProgressCount()
The number of objects for which statistics collection is in progress.- Returns:
- the value
-
getFailedCount
public Integer getFailedCount()
The number of objects for which statistics collection failed.- Returns:
- the value
-
getTimedOutCount
public Integer getTimedOutCount()
The number of objects for which statistics collection timed out.- Returns:
- the value
-
getTotalObjectsCount
public Integer getTotalObjectsCount()
The total number of objects for which statistics is collected.This number is the sum of all the objects with various statuses: completed, inProgress, failed, and timedOut.
- 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
-
-