Class RefreshActivity


  • @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).

    • Method Detail

      • 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
      • getServiceAvailability

        public RefreshActivity.ServiceAvailability getServiceAvailability()
        Service availability / impact during refresh activity execution up down
        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
      • 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
      • getRefreshIssueDetailsList

        public List<RefreshIssueDetails> getRefreshIssueDetailsList()
        Details of refresh investigation information, each item represents a different issue.
        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
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel