@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class MaintenanceRunSummary extends Object
Details of a Maintenance Run.
Note: Objects should always be created or deserialized using the 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,
MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype)
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()
The text describing this 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 lifecycleState.
|
MaintenanceRunSummary.LifecycleState |
getLifecycleState()
The current state of the Maintenance Run.
|
MaintenanceRunSummary.MaintenanceSubtype |
getMaintenanceSubtype()
Maintenance sub-type.
|
MaintenanceRunSummary.MaintenanceType |
getMaintenanceType()
Maintenance type.
|
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 for.
|
Date |
getTimeStarted()
The date and time the Maintenance Run starts.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","displayName","description","lifecycleState","lifecycleDetails","timeScheduled","timeStarted","timeEnded","targetResourceType","targetResourceId","maintenanceType","maintenanceSubtype"}) @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, MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype)
public static MaintenanceRunSummary.Builder builder()
Create a new builder.
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()
The text describing this Maintenance Run.
public MaintenanceRunSummary.LifecycleState getLifecycleState()
The current state of the Maintenance Run.
public String getLifecycleDetails()
Additional information about the current lifecycleState.
public Date getTimeScheduled()
The date and time the Maintenance Run is scheduled for.
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 MaintenanceRunSummary.MaintenanceSubtype getMaintenanceSubtype()
Maintenance sub-type.
Copyright © 2016–2020. All rights reserved.