Package com.oracle.bmc.fusionapps.model
Class RefreshActivitySummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.fusionapps.model.RefreshActivitySummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20211201") public final class RefreshActivitySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of the refresh activity.
Note: Objects should always be created or deserialized using theRefreshActivitySummary.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 theRefreshActivitySummary.Builder
, which maintain a set of all explicitly set fields calledRefreshActivitySummary.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RefreshActivitySummary.Builder
-
Constructor Summary
Constructors Constructor Description RefreshActivitySummary(String id, String displayName, String sourceFusionEnvironmentId, Date timeOfRestorationPoint, RefreshActivity.LifecycleState lifecycleState, Date timeScheduledStart, Date timeExpectedFinish, Date timeFinished, RefreshActivity.ServiceAvailability serviceAvailability, Date timeAccepted, Date timeUpdated, Boolean isDataMaskingOpted, RefreshActivity.LifecycleDetails lifecycleDetails, List<RefreshIssueDetails> refreshIssueDetailsList)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RefreshActivitySummary.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 refresh activity.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 downString
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()
RefreshActivitySummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
RefreshActivitySummary
@Deprecated @ConstructorProperties({"id","displayName","sourceFusionEnvironmentId","timeOfRestorationPoint","lifecycleState","timeScheduledStart","timeExpectedFinish","timeFinished","serviceAvailability","timeAccepted","timeUpdated","isDataMaskingOpted","lifecycleDetails","refreshIssueDetailsList"}) public RefreshActivitySummary(String id, String displayName, String sourceFusionEnvironmentId, Date timeOfRestorationPoint, RefreshActivity.LifecycleState lifecycleState, Date timeScheduledStart, Date timeExpectedFinish, Date timeFinished, RefreshActivity.ServiceAvailability serviceAvailability, Date timeAccepted, Date timeUpdated, Boolean isDataMaskingOpted, RefreshActivity.LifecycleDetails lifecycleDetails, List<RefreshIssueDetails> refreshIssueDetailsList)
Deprecated.
-
-
Method Detail
-
builder
public static RefreshActivitySummary.Builder builder()
Create a new builder.
-
toBuilder
public RefreshActivitySummary.Builder toBuilder()
-
getId
public String getId()
The unique identifier (OCID) of the refresh activity.Can’t be changed after creation.
- Returns:
- the value
-
getDisplayName
public String getDisplayName()
A friendly name for the refresh activity.Can be changed later.
- Returns:
- the value
-
getSourceFusionEnvironmentId
public String getSourceFusionEnvironmentId()
The OCID of the Fusion environment that is the source environment for the refresh.- Returns:
- the value
-
getTimeOfRestorationPoint
public Date getTimeOfRestorationPoint()
The date and time of the most recent source environment backup used for the environment refresh.- Returns:
- the value
-
getLifecycleState
public RefreshActivity.LifecycleState getLifecycleState()
The current state of the refresh activity.Valid values are Scheduled, In progress , Failed, Completed.
- Returns:
- the value
-
getTimeScheduledStart
public Date getTimeScheduledStart()
The time the refresh activity is scheduled to start.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeExpectedFinish
public Date getTimeExpectedFinish()
The time the refresh activity is scheduled to end.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeFinished
public Date getTimeFinished()
The time the refresh activity actually completed / cancelled / failed.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getServiceAvailability
public RefreshActivity.ServiceAvailability getServiceAvailability()
Service availability / impact during refresh activity execution, up down- Returns:
- the value
-
getTimeAccepted
public Date getTimeAccepted()
The time the refresh activity record was created.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time the refresh activity record was updated.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getIsDataMaskingOpted
public Boolean getIsDataMaskingOpted()
Represents if the customer opted for Data Masking or not during refreshActivity.- Returns:
- the value
-
getLifecycleDetails
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.
- Returns:
- the value
-
getRefreshIssueDetailsList
public List<RefreshIssueDetails> getRefreshIssueDetailsList()
Details of refresh investigation information, each item represents a different issue.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-