@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class MaintenanceRun extends Object
Details of a Maintenance Run.
Note: Objects should always be created or deserialized using the MaintenanceRun.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 MaintenanceRun.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 |
MaintenanceRun.Builder |
static class |
MaintenanceRun.LifecycleState
The current state of the Maintenance Run.
|
static class |
MaintenanceRun.MaintenanceSubtype
Maintenance sub-type.
|
static class |
MaintenanceRun.MaintenanceType
Maintenance type.
|
static class |
MaintenanceRun.TargetResourceType
The type of the target resource on which the Maintenance Run occurs.
|
Constructor and Description |
---|
MaintenanceRun(String id,
String compartmentId,
String displayName,
String description,
MaintenanceRun.LifecycleState lifecycleState,
String lifecycleDetails,
Date timeScheduled,
Date timeStarted,
Date timeEnded,
MaintenanceRun.TargetResourceType targetResourceType,
String targetResourceId,
MaintenanceRun.MaintenanceType maintenanceType,
MaintenanceRun.MaintenanceSubtype maintenanceSubtype)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MaintenanceRun.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.
|
MaintenanceRun.LifecycleState |
getLifecycleState()
The current state of the Maintenance Run.
|
MaintenanceRun.MaintenanceSubtype |
getMaintenanceSubtype()
Maintenance sub-type.
|
MaintenanceRun.MaintenanceType |
getMaintenanceType()
Maintenance type.
|
String |
getTargetResourceId()
The ID of the target resource on which the Maintenance Run occurs.
|
MaintenanceRun.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 MaintenanceRun(String id, String compartmentId, String displayName, String description, MaintenanceRun.LifecycleState lifecycleState, String lifecycleDetails, Date timeScheduled, Date timeStarted, Date timeEnded, MaintenanceRun.TargetResourceType targetResourceType, String targetResourceId, MaintenanceRun.MaintenanceType maintenanceType, MaintenanceRun.MaintenanceSubtype maintenanceSubtype)
public static MaintenanceRun.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 MaintenanceRun.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 MaintenanceRun.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 MaintenanceRun.MaintenanceType getMaintenanceType()
Maintenance type.
public MaintenanceRun.MaintenanceSubtype getMaintenanceSubtype()
Maintenance sub-type.
Copyright © 2016–2020. All rights reserved.