@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 the OptimizerStatisticsCollectionOperation.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 the OptimizerStatisticsCollectionOperation.Builder
, which maintain a
set of all explicitly set fields called OptimizerStatisticsCollectionOperation.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
OptimizerStatisticsCollectionOperation.Builder |
static class |
OptimizerStatisticsCollectionOperation.Status
The status of the operation such as Completed, and Failed.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static OptimizerStatisticsCollectionOperation.Builder builder()
Create a new builder.
public OptimizerStatisticsCollectionOperation.Builder toBuilder()
public OptimizerDatabase getDatabase()
public List<OptimizerStatisticsOperationTask> getTasks()
An array of Optimizer Statistics Collection task details.
public Integer getId()
The ID of the operation.
public String getOperationName()
The name of the operation.
public String getTarget()
The target object type such as Table, Index, and Partition.
public String getJobName()
The name of the job.
public OptimizerStatisticsCollectionOperation.Status getStatus()
The status of the operation such as Completed, and Failed.
public String getStartTime()
The start time of the operation.
public String getEndTime()
The end time of the operation.
public BigDecimal getDurationInSeconds()
The time it takes to complete the operation (in seconds).
public Integer getCompletedCount()
The number of objects for which statistics collection is completed.
public Integer getInProgressCount()
The number of objects for which statistics collection is in progress.
public Integer getFailedCount()
The number of objects for which statistics collection failed.
public Integer getTimedOutCount()
The number of objects for which statistics collection timed out.
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.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.