@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class Patch extends ExplicitlySetBmcModel
Patch.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 Patch.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
Patch.AvailableActions |
static class |
Patch.Builder |
static class |
Patch.LastAction
Action that is currently being performed or was completed last.
|
static class |
Patch.LifecycleState
The current state of the patch as a result of lastAction.
|
Constructor and Description |
---|
Patch(String id,
String description,
Patch.LastAction lastAction,
List<Patch.AvailableActions> availableActions,
String lifecycleDetails,
Patch.LifecycleState lifecycleState,
Date timeReleased,
String version)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Patch.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<Patch.AvailableActions> |
getAvailableActions()
Actions that can possibly be performed using this patch.
|
String |
getDescription()
The text describing this patch package.
|
String |
getId()
The OCID of the patch.
|
Patch.LastAction |
getLastAction()
Action that is currently being performed or was completed last.
|
String |
getLifecycleDetails()
A descriptive text associated with the lifecycleState.
|
Patch.LifecycleState |
getLifecycleState()
The current state of the patch as a result of lastAction.
|
Date |
getTimeReleased()
The date and time that the patch was released.
|
String |
getVersion()
The version of this patch package.
|
int |
hashCode() |
Patch.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","description","lastAction","availableActions","lifecycleDetails","lifecycleState","timeReleased","version"}) public Patch(String id, String description, Patch.LastAction lastAction, List<Patch.AvailableActions> availableActions, String lifecycleDetails, Patch.LifecycleState lifecycleState, Date timeReleased, String version)
public static Patch.Builder builder()
Create a new builder.
public Patch.Builder toBuilder()
public String getDescription()
The text describing this patch package.
public Patch.LastAction getLastAction()
Action that is currently being performed or was completed last.
public List<Patch.AvailableActions> getAvailableActions()
Actions that can possibly be performed using this patch.
public String getLifecycleDetails()
A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.
public Patch.LifecycleState getLifecycleState()
The current state of the patch as a result of lastAction.
public Date getTimeReleased()
The date and time that the patch was released.
public String getVersion()
The version of this patch package.
public String toString()
toString
in class ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2022. All rights reserved.