Class OptimizerStatisticsCollectionOperation
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.OptimizerStatisticsCollectionOperation
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class OptimizerStatisticsCollectionOperation extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The summary of the Optimizer Statistics Collection tasks, which includes details of the Managed Database and the execution.
Note: Objects should always be created or deserialized using theOptimizerStatisticsCollectionOperation.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 theOptimizerStatisticsCollectionOperation.Builder
, which maintain a set of all explicitly set fields calledOptimizerStatisticsCollectionOperation.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
OptimizerStatisticsCollectionOperation.Builder
static class
OptimizerStatisticsCollectionOperation.Status
The status of the operation such as Completed, and Failed.
-
Constructor Summary
Constructors Constructor Description OptimizerStatisticsCollectionOperation(OptimizerDatabase database, List<OptimizerStatisticsOperationTask> tasks, Integer id, String operationName, String target, String jobName, OptimizerStatisticsCollectionOperation.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 OptimizerStatisticsCollectionOperation.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getCompletedCount()
The number of objects for which statistics collection is completed.OptimizerDatabase
getDatabase()
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.OptimizerStatisticsCollectionOperation.Status
getStatus()
The status of the operation such as Completed, and Failed.String
getTarget()
The target object type such as Table, Index, and Partition.List<OptimizerStatisticsOperationTask>
getTasks()
An array of Optimizer Statistics Collection task details.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()
OptimizerStatisticsCollectionOperation.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
OptimizerStatisticsCollectionOperation
@Deprecated @ConstructorProperties({"database","tasks","id","operationName","target","jobName","status","startTime","endTime","durationInSeconds","completedCount","inProgressCount","failedCount","timedOutCount","totalObjectsCount"}) public OptimizerStatisticsCollectionOperation(OptimizerDatabase database, List<OptimizerStatisticsOperationTask> tasks, Integer id, String operationName, String target, String jobName, OptimizerStatisticsCollectionOperation.Status status, String startTime, String endTime, BigDecimal durationInSeconds, Integer completedCount, Integer inProgressCount, Integer failedCount, Integer timedOutCount, Integer totalObjectsCount)
Deprecated.
-
-
Method Detail
-
builder
public static OptimizerStatisticsCollectionOperation.Builder builder()
Create a new builder.
-
toBuilder
public OptimizerStatisticsCollectionOperation.Builder toBuilder()
-
getDatabase
public OptimizerDatabase getDatabase()
-
getTasks
public List<OptimizerStatisticsOperationTask> getTasks()
An array of Optimizer Statistics Collection task details.- Returns:
- the value
-
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 OptimizerStatisticsCollectionOperation.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
-
-