@Generated(value="OracleSDKGenerator", comments="API Version: 20230831") public final class SchedulerJob extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A SchedulerJob resource.
Note: Objects should always be created or deserialized using the SchedulerJob.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 SchedulerJob.Builder
, which maintain a
set of all explicitly set fields called SchedulerJob.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 |
SchedulerJob.Builder |
static class |
SchedulerJob.LifecycleState
The current state of the SchedulerJob.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SchedulerJob(String id,
String displayName,
String compartmentId,
Date timeCreated,
Date timeUpdated,
Date timeScheduled,
Date timeStarted,
Date timeEnded,
Integer countOfAffectedActionGroups,
Integer countOfAffectedResources,
Integer countOfAffectedTargets,
List<LifeCycleActionGroupType> actionGroupTypes,
List<String> applicationTypes,
List<String> products,
List<String> lifecycleOperations,
List<ActionGroupDetails> actionGroups,
AssociatedSchedulerDefinition associatedScheduleDefinition,
SchedulerJob.LifecycleState lifecycleState,
String lifecycleDetails,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SchedulerJob.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<ActionGroupDetails> |
getActionGroups()
Action Groups associated with the Schedule.
|
List<LifeCycleActionGroupType> |
getActionGroupTypes()
All Action Group types are part of the schedule.
|
List<String> |
getApplicationTypes()
All application types that are part of the schedule for an ENVIRONMENT action group Type.
|
AssociatedSchedulerDefinition |
getAssociatedScheduleDefinition() |
String |
getCompartmentId()
Tenancy OCID
|
Integer |
getCountOfAffectedActionGroups()
Count of Action Groups affected by the Schedule.
|
Integer |
getCountOfAffectedResources()
Count of resources affected by the schedule.
|
Integer |
getCountOfAffectedTargets()
Count of targets affected by the schedule.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDisplayName()
A user-friendly name.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getId()
The OCID of the resource.
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
List<String> |
getLifecycleOperations()
All LifeCycle Operations that are part of the schedule.
|
SchedulerJob.LifecycleState |
getLifecycleState()
The current state of the SchedulerJob.
|
List<String> |
getProducts()
All products that are part of the schedule for a PRODUCT action group type.
|
Map<String,Map<String,Object>> |
getSystemTags()
System tags for this resource.
|
Date |
getTimeCreated()
The time this resource was created.
|
Date |
getTimeEnded()
Actual end date and time for the Job.
|
Date |
getTimeScheduled()
The scheduled date and time for the Job.
|
Date |
getTimeStarted()
Actual start date and time for the Job.
|
Date |
getTimeUpdated()
The time this resource was last updated.
|
int |
hashCode() |
SchedulerJob.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","compartmentId","timeCreated","timeUpdated","timeScheduled","timeStarted","timeEnded","countOfAffectedActionGroups","countOfAffectedResources","countOfAffectedTargets","actionGroupTypes","applicationTypes","products","lifecycleOperations","actionGroups","associatedScheduleDefinition","lifecycleState","lifecycleDetails","freeformTags","definedTags","systemTags"}) public SchedulerJob(String id, String displayName, String compartmentId, Date timeCreated, Date timeUpdated, Date timeScheduled, Date timeStarted, Date timeEnded, Integer countOfAffectedActionGroups, Integer countOfAffectedResources, Integer countOfAffectedTargets, List<LifeCycleActionGroupType> actionGroupTypes, List<String> applicationTypes, List<String> products, List<String> lifecycleOperations, List<ActionGroupDetails> actionGroups, AssociatedSchedulerDefinition associatedScheduleDefinition, SchedulerJob.LifecycleState lifecycleState, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
public static SchedulerJob.Builder builder()
Create a new builder.
public SchedulerJob.Builder toBuilder()
public String getId()
The OCID of the resource.
public String getDisplayName()
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
public String getCompartmentId()
Tenancy OCID
public Date getTimeCreated()
The time this resource was created. An RFC3339 formatted datetime string.
public Date getTimeUpdated()
The time this resource was last updated. An RFC3339 formatted datetime string.
public Date getTimeScheduled()
The scheduled date and time for the Job.
public Date getTimeStarted()
Actual start date and time for the Job.
public Date getTimeEnded()
Actual end date and time for the Job.
public Integer getCountOfAffectedActionGroups()
Count of Action Groups affected by the Schedule. An action group is a group of entities grouped for a lifecycle activity. Example - A Fleet will be considered an Action Group for any lifecycle activity.
public Integer getCountOfAffectedResources()
Count of resources affected by the schedule.
public Integer getCountOfAffectedTargets()
Count of targets affected by the schedule.
public List<LifeCycleActionGroupType> getActionGroupTypes()
All Action Group types are part of the schedule.
public List<String> getApplicationTypes()
All application types that are part of the schedule for an ENVIRONMENT action group Type.
public List<String> getProducts()
All products that are part of the schedule for a PRODUCT action group type.
public List<String> getLifecycleOperations()
All LifeCycle Operations that are part of the schedule.
public List<ActionGroupDetails> getActionGroups()
Action Groups associated with the Schedule.
public AssociatedSchedulerDefinition getAssociatedScheduleDefinition()
public SchedulerJob.LifecycleState getLifecycleState()
The current state of the SchedulerJob.
public String 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.
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for
cross-compatibility only. Example: {"bar-key": "value"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
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.