@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class MaintenanceRunSummary extends Object
Details of a maintenance run.
MaintenanceRunSummary.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 the MaintenanceRunSummary.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
MaintenanceRunSummary.Builder |
static class |
MaintenanceRunSummary.LifecycleState
The current state of the maintenance run.
|
static class |
MaintenanceRunSummary.MaintenanceSubtype
Maintenance sub-type.
|
static class |
MaintenanceRunSummary.MaintenanceType
Maintenance type.
|
static class |
MaintenanceRunSummary.TargetResourceType
The type of the target resource on which the maintenance run occurs.
|
Constructor and Description |
---|
MaintenanceRunSummary(String id,
String compartmentId,
String displayName,
String description,
MaintenanceRunSummary.LifecycleState lifecycleState,
String lifecycleDetails,
Date timeScheduled,
Date timeStarted,
Date timeEnded,
MaintenanceRunSummary.TargetResourceType targetResourceType,
String targetResourceId,
MaintenanceRunSummary.MaintenanceType maintenanceType,
String patchId,
MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype,
String peerMaintenanceRunId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MaintenanceRunSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the compartment.
|
String |
getDescription()
Description of the maintenance run.
|
String |
getDisplayName()
The user-friendly name for the maintenance run.
|
String |
getId()
The OCID of the maintenance run.
|
String |
getLifecycleDetails()
Additional information about the current lifecycle state.
|
MaintenanceRunSummary.LifecycleState |
getLifecycleState()
The current state of the maintenance run.
|
MaintenanceRunSummary.MaintenanceSubtype |
getMaintenanceSubtype()
Maintenance sub-type.
|
MaintenanceRunSummary.MaintenanceType |
getMaintenanceType()
Maintenance type.
|
String |
getPatchId()
The unique identifier of the patch.
|
String |
getPeerMaintenanceRunId()
The OCID of the maintenance run for the Autonomous Data Guard association’s peer container database.
|
String |
getTargetResourceId()
The ID of the target resource on which the maintenance run occurs.
|
MaintenanceRunSummary.TargetResourceType |
getTargetResourceType()
The type of the target resource on which the maintenance run occurs.
|
Date |
getTimeEnded()
The date and time the maintenance run was completed.
|
Date |
getTimeScheduled()
The date and time the maintenance run is scheduled to occur.
|
Date |
getTimeStarted()
The date and time the maintenance run starts.
|
int |
hashCode() |
MaintenanceRunSummary.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","displayName","description","lifecycleState","lifecycleDetails","timeScheduled","timeStarted","timeEnded","targetResourceType","targetResourceId","maintenanceType","patchId","maintenanceSubtype","peerMaintenanceRunId"}) @Deprecated public MaintenanceRunSummary(String id, String compartmentId, String displayName, String description, MaintenanceRunSummary.LifecycleState lifecycleState, String lifecycleDetails, Date timeScheduled, Date timeStarted, Date timeEnded, MaintenanceRunSummary.TargetResourceType targetResourceType, String targetResourceId, MaintenanceRunSummary.MaintenanceType maintenanceType, String patchId, MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype, String peerMaintenanceRunId)
public static MaintenanceRunSummary.Builder builder()
Create a new builder.
public MaintenanceRunSummary.Builder toBuilder()
public String getId()
The OCID of the maintenance run.
public String getCompartmentId()
The OCID of the compartment.
public String getDisplayName()
The user-friendly name for the maintenance run.
public String getDescription()
Description of the maintenance run.
public MaintenanceRunSummary.LifecycleState getLifecycleState()
The current state of the maintenance run.
public String getLifecycleDetails()
Additional information about the current lifecycle state.
public Date getTimeScheduled()
The date and time the maintenance run is scheduled to occur.
public Date getTimeStarted()
The date and time the maintenance run starts.
public Date getTimeEnded()
The date and time the maintenance run was completed.
public MaintenanceRunSummary.TargetResourceType getTargetResourceType()
The type of the target resource on which the maintenance run occurs.
public String getTargetResourceId()
The ID of the target resource on which the maintenance run occurs.
public MaintenanceRunSummary.MaintenanceType getMaintenanceType()
Maintenance type.
public String getPatchId()
The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030
is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
public MaintenanceRunSummary.MaintenanceSubtype getMaintenanceSubtype()
Maintenance sub-type.
public String getPeerMaintenanceRunId()
The OCID of the maintenance run for the Autonomous Data Guard association’s peer container database.
Copyright © 2016–2021. All rights reserved.