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.ExplicitlySetBmcModel
The 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 class
HistoricAddmResult.Builder
static class
HistoricAddmResult.HowCreated
A description of how the task was created.static class
HistoricAddmResult.Status
The 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.Builder
builder()
Create a new builder.boolean
equals(Object o)
Long
getBeginSnapshotId()
The ID number of the beginning AWR snapshot.String
getDbUser()
The database user who owns the historic ADDM task.String
getDescription()
The description of the ADDM task.Long
getEndSnapshotId()
The ID number of the ending AWR snapshot.Date
getEndSnapshotTime()
The timestamp of the ending AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.Long
getFindings()
The number of ADDM findings.HistoricAddmResult.HowCreated
getHowCreated()
A description of how the task was created.Boolean
getIsNewlyCreated()
Specifies whether the ADDM task returned had already existed or was newly created by the api call.Date
getStartSnapshotTime()
The timestamp of the beginning AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.HistoricAddmResult.Status
getStatus()
The status of the ADDM task.Long
getTaskId()
The ID of the historic ADDM task.String
getTaskName()
The name of the historic ADDM task.Date
getTimeCreated()
The creation date of the ADDM task.int
hashCode()
HistoricAddmResult.Builder
toBuilder()
String
toString()
String
toString(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:
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
-
-