Class ExecutionWindow


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class ExecutionWindow
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Details of an execution window.
    Note: Objects should always be created or deserialized using the ExecutionWindow.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 ExecutionWindow.Builder, which maintain a set of all explicitly set fields called ExecutionWindow.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 OCID of the execution window.
        Returns:
        the value
      • getExecutionResourceId

        public String getExecutionResourceId()
        The OCID of the execution resource the execution window belongs to.
        Returns:
        the value
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment.
        Returns:
        the value
      • getDisplayName

        public String getDisplayName()
        The user-friendly name for the execution window.

        The name does not need to be unique.

        Returns:
        the value
      • getDescription

        public String getDescription()
        Description of the execution window.
        Returns:
        the value
      • getLifecycleState

        public ExecutionWindow.LifecycleState getLifecycleState()
        The current state of the Schedule Policy.

        Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.

        Returns:
        the value
      • getLifecycleSubstate

        public ExecutionWindow.LifecycleSubstate getLifecycleSubstate()
        The current sub-state of the execution window.

        Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.

        Returns:
        the value
      • getLifecycleDetails

        public String getLifecycleDetails()
        Additional information about the current lifecycle state.
        Returns:
        the value
      • getTimeCreated

        public Date getTimeCreated()
        The date and time the execution window was created.
        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        The last date and time that the execution window was updated.
        Returns:
        the value
      • getTimeStarted

        public Date getTimeStarted()
        The date and time that the execution window was started.
        Returns:
        the value
      • getTimeEnded

        public Date getTimeEnded()
        The date and time that the execution window ended.
        Returns:
        the value
      • getTimeScheduled

        public Date getTimeScheduled()
        The scheduled start date and time of the execution window.
        Returns:
        the value
      • getWindowDurationInMins

        public Integer getWindowDurationInMins()
        Duration window allows user to set a duration they plan to allocate for Scheduling window.

        The duration is in minutes.

        Returns:
        the value
      • getIsEnforcedDuration

        public Boolean getIsEnforcedDuration()
        Indicates if duration the user plans to allocate for scheduling window is strictly enforced.

        The default value is FALSE.

        Returns:
        the value
      • getEstimatedTimeInMins

        public Integer getEstimatedTimeInMins()
        The estimated time of the execution window in minutes.
        Returns:
        the value
      • getTotalTimeTakenInMins

        public Integer getTotalTimeTakenInMins()
        The total time taken by corresponding resource activity in minutes.
        Returns:
        the value
      • getWindowType

        public ExecutionWindow.WindowType getWindowType()
        The execution window is of PLANNED or UNPLANNED type.
        Returns:
        the value
      • getFreeformTags

        public Map<String,​String> getFreeformTags()
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

        Returns:
        the value
      • getDefinedTags

        public Map<String,​Map<String,​Object>> getDefinedTags()
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        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