@Generated(value="OracleSDKGenerator", comments="API Version: 20211201") public final class RefreshActivity extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
An environment refresh copies data from a source environment to a target environment, making a
copy of the source environment onto the target environment. For more information, see Refreshing
an
Environment.
Note: Objects should always be created or deserialized using the RefreshActivity.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 RefreshActivity.Builder
, which maintain a
set of all explicitly set fields called RefreshActivity.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 |
RefreshActivity.Builder |
static class |
RefreshActivity.LifecycleDetails
A message describing the current state in more detail.
|
static class |
RefreshActivity.LifecycleState
The current state of the refreshActivity.
|
static class |
RefreshActivity.ServiceAvailability
Service availability / impact during refresh activity execution up down
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
RefreshActivity(String id,
String displayName,
String sourceFusionEnvironmentId,
Date timeOfRestorationPoint,
RefreshActivity.LifecycleState lifecycleState,
RefreshActivity.ServiceAvailability serviceAvailability,
Date timeScheduledStart,
Date timeExpectedFinish,
Date timeFinished,
Date timeAccepted,
Date timeUpdated,
Boolean isDataMaskingOpted,
List<RefreshIssueDetails> refreshIssueDetailsList,
RefreshActivity.LifecycleDetails lifecycleDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RefreshActivity.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDisplayName()
A friendly name for the refresh activity.
|
String |
getId()
The unique identifier (OCID) of the refresh activity.
|
Boolean |
getIsDataMaskingOpted()
Represents if the customer opted for Data Masking or not during refreshActivity.
|
RefreshActivity.LifecycleDetails |
getLifecycleDetails()
A message describing the current state in more detail.
|
RefreshActivity.LifecycleState |
getLifecycleState()
The current state of the refreshActivity.
|
List<RefreshIssueDetails> |
getRefreshIssueDetailsList()
Details of refresh investigation information, each item represents a different issue.
|
RefreshActivity.ServiceAvailability |
getServiceAvailability()
Service availability / impact during refresh activity execution up down
|
String |
getSourceFusionEnvironmentId()
The OCID of the Fusion environment that is the source environment for the refresh.
|
Date |
getTimeAccepted()
The time the refresh activity record was created.
|
Date |
getTimeExpectedFinish()
The time the refresh activity is scheduled to end.
|
Date |
getTimeFinished()
The time the refresh activity actually completed / cancelled / failed.
|
Date |
getTimeOfRestorationPoint()
The date and time of the most recent source environment backup used for the environment
refresh.
|
Date |
getTimeScheduledStart()
The time the refresh activity is scheduled to start.
|
Date |
getTimeUpdated()
The time the refresh activity record was updated.
|
int |
hashCode() |
RefreshActivity.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","sourceFusionEnvironmentId","timeOfRestorationPoint","lifecycleState","serviceAvailability","timeScheduledStart","timeExpectedFinish","timeFinished","timeAccepted","timeUpdated","isDataMaskingOpted","refreshIssueDetailsList","lifecycleDetails"}) public RefreshActivity(String id, String displayName, String sourceFusionEnvironmentId, Date timeOfRestorationPoint, RefreshActivity.LifecycleState lifecycleState, RefreshActivity.ServiceAvailability serviceAvailability, Date timeScheduledStart, Date timeExpectedFinish, Date timeFinished, Date timeAccepted, Date timeUpdated, Boolean isDataMaskingOpted, List<RefreshIssueDetails> refreshIssueDetailsList, RefreshActivity.LifecycleDetails lifecycleDetails)
public static RefreshActivity.Builder builder()
Create a new builder.
public RefreshActivity.Builder toBuilder()
public String getId()
The unique identifier (OCID) of the refresh activity. Can’t be changed after creation.
public String getDisplayName()
A friendly name for the refresh activity. Can be changed later.
public String getSourceFusionEnvironmentId()
The OCID of the Fusion environment that is the source environment for the refresh.
public Date getTimeOfRestorationPoint()
The date and time of the most recent source environment backup used for the environment refresh.
public RefreshActivity.LifecycleState getLifecycleState()
The current state of the refreshActivity.
public RefreshActivity.ServiceAvailability getServiceAvailability()
Service availability / impact during refresh activity execution up down
public Date getTimeScheduledStart()
The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.
public Date getTimeExpectedFinish()
The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
public Date getTimeFinished()
The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
public Date getTimeAccepted()
The time the refresh activity record was created. An RFC3339 formatted datetime string.
public Date getTimeUpdated()
The time the refresh activity record was updated. An RFC3339 formatted datetime string.
public Boolean getIsDataMaskingOpted()
Represents if the customer opted for Data Masking or not during refreshActivity.
public List<RefreshIssueDetails> getRefreshIssueDetailsList()
Details of refresh investigation information, each item represents a different issue.
public RefreshActivity.LifecycleDetails getLifecycleDetails()
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
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.