Package com.oracle.bmc.datascience.model
Class ScheduleSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.ScheduleSummary.Builder
-
- Enclosing class:
- ScheduleSummary
public static class ScheduleSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleSummarybuild()ScheduleSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the schedule.ScheduleSummary.Buildercopy(ScheduleSummary model)ScheduleSummary.BuildercreatedBy(String createdBy)The OCID of the user who created the schedule.ScheduleSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ScheduleSummary.BuilderdisplayName(String displayName)The name of the schedule.ScheduleSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ScheduleSummary.Builderid(String id)The OCID of the schedule.ScheduleSummary.BuilderlifecycleState(ScheduleLifecycleState lifecycleState)The current state of the schedule.ScheduleSummary.BuilderprojectId(String projectId)The OCID of the project associated with the schedule.ScheduleSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ScheduleSummary.BuildertimeCreated(Date timeCreated)The date and time the schedule was created.ScheduleSummary.BuildertimeUpdated(Date timeUpdated)The date and time the schedule was updated.ScheduleSummary.Buildertrigger(ScheduleTrigger trigger)
-
-
-
Method Detail
-
id
public ScheduleSummary.Builder id(String id)
The OCID of the schedule.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ScheduleSummary.Builder displayName(String displayName)
The name of the schedule.- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public ScheduleSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the schedule.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
projectId
public ScheduleSummary.Builder projectId(String projectId)
The OCID of the project associated with the schedule.- Parameters:
projectId- the value to set- Returns:
- this builder
-
trigger
public ScheduleSummary.Builder trigger(ScheduleTrigger trigger)
-
timeCreated
public ScheduleSummary.Builder timeCreated(Date timeCreated)
The date and time the schedule was created.Format is defined by RFC3339. Example: 2022-08-05T01:02:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ScheduleSummary.Builder timeUpdated(Date timeUpdated)
The date and time the schedule was updated.Format is defined by RFC3339. Example: 2022-08-05T01:02:29.600Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
createdBy
public ScheduleSummary.Builder createdBy(String createdBy)
The OCID of the user who created the schedule.- Parameters:
createdBy- the value to set- Returns:
- this builder
-
lifecycleState
public ScheduleSummary.Builder lifecycleState(ScheduleLifecycleState lifecycleState)
The current state of the schedule.Example: ACTIVE
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
freeformTags
public ScheduleSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ScheduleSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ScheduleSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public ScheduleSummary build()
-
copy
public ScheduleSummary.Builder copy(ScheduleSummary model)
-
-