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.ExplicitlySetBmcModelThe 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 classAddmTaskSummary.Builderstatic classAddmTaskSummary.HowCreatedA description of how the task was created.static classAddmTaskSummary.StatusThe 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.Builderbuilder()Create a new builder.booleanequals(Object o)LonggetBeginSnapshotId()The ID number of the beginning AWR snapshot.StringgetDbUser()The database user who owns the 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.AddmTaskSummary.HowCreatedgetHowCreated()A description of how the task was created.DategetStartSnapshotTime()The timestamp of the beginning AWR snapshot used in the ADDM task as defined by date-time RFC3339 format.AddmTaskSummary.StatusgetStatus()The status of the ADDM task.LonggetTaskId()The ID number of the ADDM task.StringgetTaskName()The name of the ADDM task.DategetTimeCreated()The creation date of the ADDM task.inthashCode()AddmTaskSummary.BuildertoBuilder()StringtoString()StringtoString(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:
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
-
-