@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ExecutionWindowSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of an execution window.
Note: Objects should always be created or deserialized using the ExecutionWindowSummary.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 ExecutionWindowSummary.Builder
, which maintain a
set of all explicitly set fields called ExecutionWindowSummary.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 |
ExecutionWindowSummary.Builder |
static class |
ExecutionWindowSummary.LifecycleState
The current state of the Schedule Policy.
|
static class |
ExecutionWindowSummary.LifecycleSubstate
The current sub-state of the execution window.
|
static class |
ExecutionWindowSummary.WindowType
The execution window is of PLANNED or UNPLANNED type.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ExecutionWindowSummary(String id,
String executionResourceId,
String compartmentId,
String displayName,
String description,
ExecutionWindowSummary.LifecycleState lifecycleState,
ExecutionWindowSummary.LifecycleSubstate lifecycleSubstate,
String lifecycleDetails,
Date timeCreated,
Date timeUpdated,
Date timeStarted,
Date timeEnded,
Date timeScheduled,
Integer windowDurationInMins,
Boolean isEnforcedDuration,
Integer estimatedTimeInMins,
Integer totalTimeTakenInMins,
ExecutionWindowSummary.WindowType windowType,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ExecutionWindowSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of the
compartment.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDescription()
Description of the execution window.
|
String |
getDisplayName()
The user-friendly name for the execution window.
|
Integer |
getEstimatedTimeInMins()
The estimated time of the execution window in minutes.
|
String |
getExecutionResourceId()
The OCID of the
execution resource the execution window belongs to.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
String |
getId()
The OCID of the
execution window.
|
Boolean |
getIsEnforcedDuration()
Indicates if duration the user plans to allocate for scheduling window is strictly enforced.
|
String |
getLifecycleDetails()
Additional information about the current lifecycle state.
|
ExecutionWindowSummary.LifecycleState |
getLifecycleState()
The current state of the Schedule Policy.
|
ExecutionWindowSummary.LifecycleSubstate |
getLifecycleSubstate()
The current sub-state of the execution window.
|
Date |
getTimeCreated()
The date and time the execution window was created.
|
Date |
getTimeEnded()
The date and time that the execution window ended.
|
Date |
getTimeScheduled()
The scheduled start date and time of the execution window.
|
Date |
getTimeStarted()
The date and time that the execution window was started.
|
Date |
getTimeUpdated()
The last date and time that the execution window was updated.
|
Integer |
getTotalTimeTakenInMins()
The total time taken by corresponding resource activity in minutes.
|
Integer |
getWindowDurationInMins()
Duration window allows user to set a duration they plan to allocate for Scheduling window.
|
ExecutionWindowSummary.WindowType |
getWindowType()
The execution window is of PLANNED or UNPLANNED type.
|
int |
hashCode() |
ExecutionWindowSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","executionResourceId","compartmentId","displayName","description","lifecycleState","lifecycleSubstate","lifecycleDetails","timeCreated","timeUpdated","timeStarted","timeEnded","timeScheduled","windowDurationInMins","isEnforcedDuration","estimatedTimeInMins","totalTimeTakenInMins","windowType","freeformTags","definedTags"}) public ExecutionWindowSummary(String id, String executionResourceId, String compartmentId, String displayName, String description, ExecutionWindowSummary.LifecycleState lifecycleState, ExecutionWindowSummary.LifecycleSubstate lifecycleSubstate, String lifecycleDetails, Date timeCreated, Date timeUpdated, Date timeStarted, Date timeEnded, Date timeScheduled, Integer windowDurationInMins, Boolean isEnforcedDuration, Integer estimatedTimeInMins, Integer totalTimeTakenInMins, ExecutionWindowSummary.WindowType windowType, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static ExecutionWindowSummary.Builder builder()
Create a new builder.
public ExecutionWindowSummary.Builder toBuilder()
public String getExecutionResourceId()
The OCID of the execution resource the execution window belongs to.
public String getDisplayName()
The user-friendly name for the execution window. The name does not need to be unique.
public String getDescription()
Description of the execution window.
public ExecutionWindowSummary.LifecycleState getLifecycleState()
The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
public ExecutionWindowSummary.LifecycleSubstate getLifecycleSubstate()
The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
public String getLifecycleDetails()
Additional information about the current lifecycle state.
public Date getTimeCreated()
The date and time the execution window was created.
public Date getTimeUpdated()
The last date and time that the execution window was updated.
public Date getTimeStarted()
The date and time that the execution window was started.
public Date getTimeEnded()
The date and time that the execution window ended.
public Date getTimeScheduled()
The scheduled start date and time of the execution window.
public Integer getWindowDurationInMins()
Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
public Boolean getIsEnforcedDuration()
Indicates if duration the user plans to allocate for scheduling window is strictly enforced.
The default value is FALSE
.
public Integer getEstimatedTimeInMins()
The estimated time of the execution window in minutes.
public Integer getTotalTimeTakenInMins()
The total time taken by corresponding resource activity in minutes.
public ExecutionWindowSummary.WindowType getWindowType()
The execution window is of PLANNED or UNPLANNED type.
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"}
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.
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.