Package com.oracle.bmc.database.model
Class ExecutionWindow
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.ExecutionWindow
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ExecutionWindow extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails of an execution window.
 Note: Objects should always be created or deserialized using theExecutionWindow.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 theExecutionWindow.Builder, which maintain a set of all explicitly set fields calledExecutionWindow.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 SummaryNested Classes Modifier and Type Class Description static classExecutionWindow.Builderstatic classExecutionWindow.LifecycleStateThe current state of the Schedule Policy.static classExecutionWindow.LifecycleSubstateThe current sub-state of the execution window.static classExecutionWindow.WindowTypeThe execution window is of PLANNED or UNPLANNED type.
 - 
Constructor SummaryConstructors Constructor Description ExecutionWindow(String id, String executionResourceId, String compartmentId, String displayName, String description, ExecutionWindow.LifecycleState lifecycleState, ExecutionWindow.LifecycleSubstate lifecycleSubstate, String lifecycleDetails, Date timeCreated, Date timeUpdated, Date timeStarted, Date timeEnded, Date timeScheduled, Integer windowDurationInMins, Boolean isEnforcedDuration, Integer estimatedTimeInMins, Integer totalTimeTakenInMins, ExecutionWindow.WindowType windowType, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutionWindow.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDescription()Description of the execution window.StringgetDisplayName()The user-friendly name for the execution window.IntegergetEstimatedTimeInMins()The estimated time of the execution window in minutes.StringgetExecutionResourceId()The OCID of the execution resource the execution window belongs to.Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetId()The OCID of the execution window.BooleangetIsEnforcedDuration()Indicates if duration the user plans to allocate for scheduling window is strictly enforced.StringgetLifecycleDetails()Additional information about the current lifecycle state.ExecutionWindow.LifecycleStategetLifecycleState()The current state of the Schedule Policy.ExecutionWindow.LifecycleSubstategetLifecycleSubstate()The current sub-state of the execution window.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.DategetTimeCreated()The date and time the execution window was created.DategetTimeEnded()The date and time that the execution window ended.DategetTimeScheduled()The scheduled start date and time of the execution window.DategetTimeStarted()The date and time that the execution window was started.DategetTimeUpdated()The last date and time that the execution window was updated.IntegergetTotalTimeTakenInMins()The total time taken by corresponding resource activity in minutes.IntegergetWindowDurationInMins()Duration window allows user to set a duration they plan to allocate for Scheduling window.ExecutionWindow.WindowTypegetWindowType()The execution window is of PLANNED or UNPLANNED type.inthashCode()ExecutionWindow.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ExecutionWindow@Deprecated @ConstructorProperties({"id","executionResourceId","compartmentId","displayName","description","lifecycleState","lifecycleSubstate","lifecycleDetails","timeCreated","timeUpdated","timeStarted","timeEnded","timeScheduled","windowDurationInMins","isEnforcedDuration","estimatedTimeInMins","totalTimeTakenInMins","windowType","freeformTags","definedTags","systemTags"}) public ExecutionWindow(String id, String executionResourceId, String compartmentId, String displayName, String description, ExecutionWindow.LifecycleState lifecycleState, ExecutionWindow.LifecycleSubstate lifecycleSubstate, String lifecycleDetails, Date timeCreated, Date timeUpdated, Date timeStarted, Date timeEnded, Date timeScheduled, Integer windowDurationInMins, Boolean isEnforcedDuration, Integer estimatedTimeInMins, Integer totalTimeTakenInMins, ExecutionWindow.WindowType windowType, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ExecutionWindow.Builder builder() Create a new builder.
 - 
toBuilderpublic ExecutionWindow.Builder toBuilder() 
 - 
getExecutionResourceIdpublic String getExecutionResourceId() The OCID of the execution resource the execution window belongs to.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() The user-friendly name for the execution window.The name does not need to be unique. - Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Description of the execution window.- Returns:
- the value
 
 - 
getLifecycleStatepublic 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
 
 - 
getLifecycleSubstatepublic ExecutionWindow.LifecycleSubstate getLifecycleSubstate() The current sub-state of the execution window.Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING. - Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() Additional information about the current lifecycle state.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time the execution window was created.- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The last date and time that the execution window was updated.- Returns:
- the value
 
 - 
getTimeStartedpublic Date getTimeStarted() The date and time that the execution window was started.- Returns:
- the value
 
 - 
getTimeEndedpublic Date getTimeEnded() The date and time that the execution window ended.- Returns:
- the value
 
 - 
getTimeScheduledpublic Date getTimeScheduled() The scheduled start date and time of the execution window.- Returns:
- the value
 
 - 
getWindowDurationInMinspublic 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
 
 - 
getIsEnforcedDurationpublic Boolean getIsEnforcedDuration() Indicates if duration the user plans to allocate for scheduling window is strictly enforced.The default value is FALSE. - Returns:
- the value
 
 - 
getEstimatedTimeInMinspublic Integer getEstimatedTimeInMins() The estimated time of the execution window in minutes.- Returns:
- the value
 
 - 
getTotalTimeTakenInMinspublic Integer getTotalTimeTakenInMins() The total time taken by corresponding resource activity in minutes.- Returns:
- the value
 
 - 
getWindowTypepublic ExecutionWindow.WindowType getWindowType() The execution window is of PLANNED or UNPLANNED type.- Returns:
- the value
 
 - 
getFreeformTagspublic 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
 
 - 
getDefinedTagspublic 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
 
 - 
getSystemTagspublic Map<String,Map<String,Object>> getSystemTags() System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-