@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class DeploymentUpgradeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of the Deployment Upgrade.
Note: Objects should always be created or deserialized using the DeploymentUpgradeSummary.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 DeploymentUpgradeSummary.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 |
DeploymentUpgradeSummary.Builder |
Constructor and Description |
---|
DeploymentUpgradeSummary(String id,
String displayName,
String description,
String compartmentId,
String deploymentId,
DeploymentUpgradeType deploymentUpgradeType,
Date timeStarted,
Date timeFinished,
String oggVersion,
Date timeCreated,
Date timeUpdated,
LifecycleState lifecycleState,
LifecycleSubState lifecycleSubState,
String lifecycleDetails,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DeploymentUpgradeSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of the
compartment being referenced.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Tags defined for this resource.
|
String |
getDeploymentId()
The OCID of the
deployment being referenced.
|
DeploymentUpgradeType |
getDeploymentUpgradeType()
The type of the deployment upgrade: MANUAL or AUTOMATIC
|
String |
getDescription()
Metadata about this specific object.
|
String |
getDisplayName()
An object’s Display Name.
|
Map<String,String> |
getFreeformTags()
A simple key-value pair that is applied without any predefined name, type, or scope.
|
String |
getId()
The OCID of the
deployment being referenced.
|
String |
getLifecycleDetails()
Describes the object’s current state in detail.
|
LifecycleState |
getLifecycleState()
Possible lifecycle states.
|
LifecycleSubState |
getLifecycleSubState()
Possible GGS lifecycle sub-states.
|
String |
getOggVersion()
Version of OGG
|
Map<String,Map<String,Object>> |
getSystemTags()
The system tags associated with this resource, if any.
|
Date |
getTimeCreated()
The time the resource was created.
|
Date |
getTimeFinished()
The date and time the request was finished.
|
Date |
getTimeStarted()
The date and time the request was started.
|
Date |
getTimeUpdated()
The time the resource was last updated.
|
int |
hashCode() |
DeploymentUpgradeSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","description","compartmentId","deploymentId","deploymentUpgradeType","timeStarted","timeFinished","oggVersion","timeCreated","timeUpdated","lifecycleState","lifecycleSubState","lifecycleDetails","freeformTags","definedTags","systemTags"}) public DeploymentUpgradeSummary(String id, String displayName, String description, String compartmentId, String deploymentId, DeploymentUpgradeType deploymentUpgradeType, Date timeStarted, Date timeFinished, String oggVersion, Date timeCreated, Date timeUpdated, LifecycleState lifecycleState, LifecycleSubState lifecycleSubState, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
public static DeploymentUpgradeSummary.Builder builder()
Create a new builder.
public DeploymentUpgradeSummary.Builder toBuilder()
public String getDisplayName()
An object’s Display Name.
public String getDescription()
Metadata about this specific object.
public String getCompartmentId()
The OCID of the compartment being referenced.
public String getDeploymentId()
The OCID of the deployment being referenced.
public DeploymentUpgradeType getDeploymentUpgradeType()
The type of the deployment upgrade: MANUAL or AUTOMATIC
public Date getTimeStarted()
The date and time the request was started. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
public Date getTimeFinished()
The date and time the request was finished. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
public String getOggVersion()
Version of OGG
public Date getTimeCreated()
The time the resource was created. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
public Date getTimeUpdated()
The time the resource was last updated. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
public LifecycleState getLifecycleState()
Possible lifecycle states.
public LifecycleSubState getLifecycleSubState()
Possible GGS lifecycle sub-states.
public String getLifecycleDetails()
Describes the object’s current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
public Map<String,String> getFreeformTags()
A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
Example: {"bar-key": "value"}
public Map<String,Map<String,Object>> getDefinedTags()
Tags defined for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
public Map<String,Map<String,Object>> getSystemTags()
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
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–2023. All rights reserved.