@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class PatchSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A Patch for a DB system or DB Home.
To use any of the API operations, you must be authorized in an IAM policy. If you're not
authorized, talk to an administrator. If you're an administrator who needs to write policies to
give users access, see [Getting Started with
Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
Note: Objects should always be created or deserialized using the PatchSummary.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 PatchSummary.Builder
, which maintain a
set of all explicitly set fields called PatchSummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
PatchSummary.AvailableActions |
static class |
PatchSummary.Builder |
static class |
PatchSummary.LastAction
Action that is currently being performed or was completed last.
|
static class |
PatchSummary.LifecycleState
The current state of the patch as a result of lastAction.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
PatchSummary(String id,
String description,
PatchSummary.LastAction lastAction,
List<PatchSummary.AvailableActions> availableActions,
String lifecycleDetails,
PatchSummary.LifecycleState lifecycleState,
Date timeReleased,
String version)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PatchSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<PatchSummary.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.
|
PatchSummary.LastAction |
getLastAction()
Action that is currently being performed or was completed last.
|
String |
getLifecycleDetails()
A descriptive text associated with the lifecycleState.
|
PatchSummary.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() |
PatchSummary.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 PatchSummary(String id, String description, PatchSummary.LastAction lastAction, List<PatchSummary.AvailableActions> availableActions, String lifecycleDetails, PatchSummary.LifecycleState lifecycleState, Date timeReleased, String version)
public static PatchSummary.Builder builder()
Create a new builder.
public PatchSummary.Builder toBuilder()
public String getDescription()
The text describing this patch package.
public PatchSummary.LastAction getLastAction()
Action that is currently being performed or was completed last.
public List<PatchSummary.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 PatchSummary.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 com.oracle.bmc.http.client.internal.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 com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.