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.ExplicitlySetBmcModelThe 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 SummaryNested Classes Modifier and Type Class Description static classOptimizerStatisticsCollectionOperation.Builderstatic classOptimizerStatisticsCollectionOperation.StatusThe status of the operation such as Completed, and Failed.
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OptimizerStatisticsCollectionOperation.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetCompletedCount()The number of objects for which statistics collection is completed.OptimizerDatabasegetDatabase()BigDecimalgetDurationInSeconds()The time it takes to complete the operation (in seconds).StringgetEndTime()The end time of the operation.IntegergetFailedCount()The number of objects for which statistics collection failed.IntegergetId()The ID of the operation.IntegergetInProgressCount()The number of objects for which statistics collection is in progress.StringgetJobName()The name of the job.StringgetOperationName()The name of the operation.StringgetStartTime()The start time of the operation.OptimizerStatisticsCollectionOperation.StatusgetStatus()The status of the operation such as Completed, and Failed.StringgetTarget()The target object type such as Table, Index, and Partition.List<OptimizerStatisticsOperationTask>getTasks()An array of Optimizer Statistics Collection task details.IntegergetTimedOutCount()The number of objects for which statistics collection timed out.IntegergetTotalObjectsCount()The total number of objects for which statistics is collected.inthashCode()OptimizerStatisticsCollectionOperation.BuildertoBuilder()StringtoString()StringtoString(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- 
builderpublic static OptimizerStatisticsCollectionOperation.Builder builder() Create a new builder.
 - 
toBuilderpublic OptimizerStatisticsCollectionOperation.Builder toBuilder() 
 - 
getDatabasepublic OptimizerDatabase getDatabase() 
 - 
getTaskspublic List<OptimizerStatisticsOperationTask> getTasks() An array of Optimizer Statistics Collection task details.- Returns:
- the value
 
 - 
getIdpublic Integer getId() The ID of the operation.- Returns:
- the value
 
 - 
getOperationNamepublic String getOperationName() The name of the operation.- Returns:
- the value
 
 - 
getTargetpublic String getTarget() The target object type such as Table, Index, and Partition.- Returns:
- the value
 
 - 
getJobNamepublic String getJobName() The name of the job.- Returns:
- the value
 
 - 
getStatuspublic OptimizerStatisticsCollectionOperation.Status getStatus() The status of the operation such as Completed, and Failed.- Returns:
- the value
 
 - 
getStartTimepublic String getStartTime() The start time of the operation.- Returns:
- the value
 
 - 
getEndTimepublic String getEndTime() The end time of the operation.- Returns:
- the value
 
 - 
getDurationInSecondspublic BigDecimal getDurationInSeconds() The time it takes to complete the operation (in seconds).- Returns:
- the value
 
 - 
getCompletedCountpublic Integer getCompletedCount() The number of objects for which statistics collection is completed.- Returns:
- the value
 
 - 
getInProgressCountpublic Integer getInProgressCount() The number of objects for which statistics collection is in progress.- Returns:
- the value
 
 - 
getFailedCountpublic Integer getFailedCount() The number of objects for which statistics collection failed.- Returns:
- the value
 
 - 
getTimedOutCountpublic Integer getTimedOutCount() The number of objects for which statistics collection timed out.- Returns:
- the value
 
 - 
getTotalObjectsCountpublic 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
 
 - 
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
 
 
- 
 
-