Class ScheduledJobSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.model.ScheduledJobSummary.Builder
-
- Enclosing class:
- ScheduledJobSummary
public static class ScheduledJobSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledJobSummary
build()
ScheduledJobSummary.Builder
compartmentId(String compartmentId)
OCID for the CompartmentScheduledJobSummary.Builder
copy(ScheduledJobSummary model)
ScheduledJobSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ScheduledJobSummary.Builder
displayName(String displayName)
Scheduled Job nameScheduledJobSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ScheduledJobSummary.Builder
id(String id)
OCID for the Scheduled JobScheduledJobSummary.Builder
isRestricted(Boolean isRestricted)
true, if the schedule job has its update capabilities restricted.ScheduledJobSummary.Builder
lifecycleState(LifecycleStates lifecycleState)
The current state of the Scheduled Job.ScheduledJobSummary.Builder
managedInstanceGroups(List<Id> managedInstanceGroups)
the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances)ScheduledJobSummary.Builder
managedInstances(List<Id> managedInstances)
the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups)ScheduledJobSummary.Builder
operationType(OperationTypes operationType)
the type of operation this Scheduled Job performsScheduledJobSummary.Builder
osFamily(OsFamilies osFamily)
The Operating System type of the managed instance.ScheduledJobSummary.Builder
scheduleType(ScheduleTypes scheduleType)
the type of scheduling this Scheduled Job followsScheduledJobSummary.Builder
timeLastExecution(Date timeLastExecution)
the time/date of the last execution of this Scheduled JobScheduledJobSummary.Builder
timeNextExecution(Date timeNextExecution)
the time/date of the next scheduled execution of this Scheduled Job
-
-
-
Method Detail
-
id
public ScheduledJobSummary.Builder id(String id)
OCID for the Scheduled Job- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ScheduledJobSummary.Builder displayName(String displayName)
Scheduled Job name- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public ScheduledJobSummary.Builder compartmentId(String compartmentId)
OCID for the Compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
scheduleType
public ScheduledJobSummary.Builder scheduleType(ScheduleTypes scheduleType)
the type of scheduling this Scheduled Job follows- Parameters:
scheduleType
- the value to set- Returns:
- this builder
-
timeNextExecution
public ScheduledJobSummary.Builder timeNextExecution(Date timeNextExecution)
the time/date of the next scheduled execution of this Scheduled Job- Parameters:
timeNextExecution
- the value to set- Returns:
- this builder
-
timeLastExecution
public ScheduledJobSummary.Builder timeLastExecution(Date timeLastExecution)
the time/date of the last execution of this Scheduled Job- Parameters:
timeLastExecution
- the value to set- Returns:
- this builder
-
managedInstances
public ScheduledJobSummary.Builder managedInstances(List<Id> managedInstances)
the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups)- Parameters:
managedInstances
- the value to set- Returns:
- this builder
-
managedInstanceGroups
public ScheduledJobSummary.Builder managedInstanceGroups(List<Id> managedInstanceGroups)
the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances)- Parameters:
managedInstanceGroups
- the value to set- Returns:
- this builder
-
operationType
public ScheduledJobSummary.Builder operationType(OperationTypes operationType)
the type of operation this Scheduled Job performs- Parameters:
operationType
- the value to set- Returns:
- this builder
-
lifecycleState
public ScheduledJobSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the Scheduled Job.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public ScheduledJobSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public ScheduledJobSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
osFamily
public ScheduledJobSummary.Builder osFamily(OsFamilies osFamily)
The Operating System type of the managed instance.- Parameters:
osFamily
- the value to set- Returns:
- this builder
-
isRestricted
public ScheduledJobSummary.Builder isRestricted(Boolean isRestricted)
true, if the schedule job has its update capabilities restricted.(Used to track Autonomous Scheduled Job)
- Parameters:
isRestricted
- the value to set- Returns:
- this builder
-
build
public ScheduledJobSummary build()
-
copy
public ScheduledJobSummary.Builder copy(ScheduledJobSummary model)
-
-