@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class Patch extends Object
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
__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 |
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) |
Set<String> |
get__explicitlySet__() |
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() |
@ConstructorProperties(value={"id","description","lastAction","availableActions","lifecycleDetails","lifecycleState","timeReleased","version"}) @Deprecated 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.
Copyright © 2016–2021. All rights reserved.