Class AddmTaskSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.AddmTaskSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class AddmTaskSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The object containing the ADDM task metadata.
Note: Objects should always be created or deserialized using theAddmTaskSummary.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 theAddmTaskSummary.Builder
, which maintain a set of all explicitly set fields calledAddmTaskSummary.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
AddmTaskSummary.Builder
static class
AddmTaskSummary.HowCreated
A description of how the task was created.static class
AddmTaskSummary.Status
The status of the ADDM task.
-
Constructor Summary
Constructors Constructor Description AddmTaskSummary(String taskName, Long taskId, String description, String dbUser, AddmTaskSummary.Status status, Date timeCreated, AddmTaskSummary.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 AddmTaskSummary.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 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.AddmTaskSummary.HowCreated
getHowCreated()
A description of how the task was created.Date
getStartSnapshotTime()
The timestamp of the beginning AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.AddmTaskSummary.Status
getStatus()
The status of the ADDM task.Long
getTaskId()
The ID number of the ADDM task.String
getTaskName()
The name of the ADDM task.Date
getTimeCreated()
The creation date of the ADDM task.int
hashCode()
AddmTaskSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AddmTaskSummary
@Deprecated @ConstructorProperties({"taskName","taskId","description","dbUser","status","timeCreated","howCreated","startSnapshotTime","endSnapshotTime","beginSnapshotId","endSnapshotId","findings"}) public AddmTaskSummary(String taskName, Long taskId, String description, String dbUser, AddmTaskSummary.Status status, Date timeCreated, AddmTaskSummary.HowCreated howCreated, Date startSnapshotTime, Date endSnapshotTime, Long beginSnapshotId, Long endSnapshotId, Long findings)
Deprecated.
-
-
Method Detail
-
builder
public static AddmTaskSummary.Builder builder()
Create a new builder.
-
toBuilder
public AddmTaskSummary.Builder toBuilder()
-
getTaskName
public String getTaskName()
The name of the ADDM task.- Returns:
- the value
-
getTaskId
public Long getTaskId()
The ID number of the 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 ADDM task.- Returns:
- the value
-
getStatus
public AddmTaskSummary.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 AddmTaskSummary.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
-
-