Class HistoricAddmResult
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.HistoricAddmResult
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class HistoricAddmResult extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe details of the historic ADDM task.
Note: Objects should always be created or deserialized using theHistoricAddmResult.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 theHistoricAddmResult.Builder, which maintain a set of all explicitly set fields calledHistoricAddmResult.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 classHistoricAddmResult.Builderstatic classHistoricAddmResult.HowCreatedA description of how the task was created.static classHistoricAddmResult.StatusThe status of the ADDM task.
-
Constructor Summary
Constructors Constructor Description HistoricAddmResult(Boolean isNewlyCreated, String taskName, Long taskId, String description, String dbUser, HistoricAddmResult.Status status, Date timeCreated, HistoricAddmResult.HowCreated howCreated, Date startSnapshotTime, Date endSnapshotTime, Long beginSnapshotId, Long endSnapshotId, Long findings)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HistoricAddmResult.Builderbuilder()Create a new builder.booleanequals(Object o)LonggetBeginSnapshotId()The ID number of the beginning AWR snapshot.StringgetDbUser()The database user who owns the historic ADDM task.StringgetDescription()The description of the ADDM task.LonggetEndSnapshotId()The ID number of the ending AWR snapshot.DategetEndSnapshotTime()The timestamp of the ending AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.LonggetFindings()The number of ADDM findings.HistoricAddmResult.HowCreatedgetHowCreated()A description of how the task was created.BooleangetIsNewlyCreated()Specifies whether the ADDM task returned had already existed or was newly created by the api call.DategetStartSnapshotTime()The timestamp of the beginning AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.HistoricAddmResult.StatusgetStatus()The status of the ADDM task.LonggetTaskId()The ID of the historic ADDM task.StringgetTaskName()The name of the historic ADDM task.DategetTimeCreated()The creation date of the ADDM task.inthashCode()HistoricAddmResult.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
HistoricAddmResult
@Deprecated @ConstructorProperties({"isNewlyCreated","taskName","taskId","description","dbUser","status","timeCreated","howCreated","startSnapshotTime","endSnapshotTime","beginSnapshotId","endSnapshotId","findings"}) public HistoricAddmResult(Boolean isNewlyCreated, String taskName, Long taskId, String description, String dbUser, HistoricAddmResult.Status status, Date timeCreated, HistoricAddmResult.HowCreated howCreated, Date startSnapshotTime, Date endSnapshotTime, Long beginSnapshotId, Long endSnapshotId, Long findings)
Deprecated.
-
-
Method Detail
-
builder
public static HistoricAddmResult.Builder builder()
Create a new builder.
-
toBuilder
public HistoricAddmResult.Builder toBuilder()
-
getIsNewlyCreated
public Boolean getIsNewlyCreated()
Specifies whether the ADDM task returned had already existed or was newly created by the api call.- Returns:
- the value
-
getTaskName
public String getTaskName()
The name of the historic ADDM task.- Returns:
- the value
-
getTaskId
public Long getTaskId()
The ID of the historic ADDM task.- Returns:
- the value
-
getDescription
public String getDescription()
The description of the ADDM task.- Returns:
- the value
-
getDbUser
public String getDbUser()
The database user who owns the historic ADDM task.- Returns:
- the value
-
getStatus
public HistoricAddmResult.Status getStatus()
The status of the ADDM task.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The creation date of the ADDM task.- Returns:
- the value
-
getHowCreated
public HistoricAddmResult.HowCreated getHowCreated()
A description of how the task was created.- Returns:
- the value
-
getStartSnapshotTime
public Date getStartSnapshotTime()
The timestamp of the beginning AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.- Returns:
- the value
-
getEndSnapshotTime
public Date getEndSnapshotTime()
The timestamp of the ending AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.- Returns:
- the value
-
getBeginSnapshotId
public Long getBeginSnapshotId()
The ID number of the beginning AWR snapshot.- Returns:
- the value
-
getEndSnapshotId
public Long getEndSnapshotId()
The ID number of the ending AWR snapshot.- Returns:
- the value
-
getFindings
public Long getFindings()
The number of ADDM findings.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-