Class TaskSchedule.Builder
- java.lang.Object
- 
- com.oracle.bmc.dataintegration.model.TaskSchedule.Builder
 
- 
- Enclosing class:
- TaskSchedule
 
 public static class TaskSchedule.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskSchedule.BuilderauthMode(TaskSchedule.AuthMode authMode)The authorization mode for the task.TaskSchedulebuild()TaskSchedule.BuilderconfigProviderDelegate(ConfigProvider configProviderDelegate)TaskSchedule.Buildercopy(TaskSchedule model)TaskSchedule.Builderdescription(String description)Detailed description for the object.TaskSchedule.BuilderendTimeMillis(Long endTimeMillis)The end time in milliseconds.TaskSchedule.BuilderexpectedDuration(Double expectedDuration)The expected duration of the task execution.TaskSchedule.BuilderexpectedDurationUnit(TaskSchedule.ExpectedDurationUnit expectedDurationUnit)The expected duration unit of the task execution.TaskSchedule.Builderidentifier(String identifier)Value can only contain upper case letters, underscore, and numbers.TaskSchedule.BuilderisBackfillEnabled(Boolean isBackfillEnabled)Whether the backfill is enabledTaskSchedule.BuilderisConcurrentAllowed(Boolean isConcurrentAllowed)Whether the same task can be executed concurrently.TaskSchedule.BuilderisEnabled(Boolean isEnabled)Whether the schedule is enabled.TaskSchedule.Builderkey(String key)Generated key that can be used in API calls to identify taskSchedule.TaskSchedule.BuilderlastRunDetails(LastRunDetails lastRunDetails)TaskSchedule.Buildermetadata(ObjectMetadata metadata)TaskSchedule.BuildermodelType(String modelType)The type of the object.TaskSchedule.BuildermodelVersion(String modelVersion)This is a version number that is used by the service to upgrade objects if needed through releases of the service.TaskSchedule.Buildername(String name)Free form text without any restriction on permitted characters.TaskSchedule.BuilderobjectStatus(Integer objectStatus)The status of an object that can be set to value 1 for shallow references across objects, other values reserved.TaskSchedule.BuilderobjectVersion(Integer objectVersion)This is used by the service for optimistic locking of the object, to prevent multiple users from simultaneously updating the object.TaskSchedule.BuilderparentRef(ParentReference parentRef)TaskSchedule.BuilderretryAttempts(Integer retryAttempts)The number of retry attempts.TaskSchedule.BuilderretryDelay(Double retryDelay)The retry delay, the unit for measurement is in the property retry delay unit.TaskSchedule.BuilderretryDelayUnit(TaskSchedule.RetryDelayUnit retryDelayUnit)The unit for the retry delay.TaskSchedule.BuilderscheduleRef(Schedule scheduleRef)TaskSchedule.BuilderstartTimeMillis(Long startTimeMillis)The start time in milliseconds.
 
- 
- 
- 
Method Detail- 
keypublic TaskSchedule.Builder key(String key) Generated key that can be used in API calls to identify taskSchedule.On scenarios where reference to the taskSchedule is needed, a value can be passed in create. - Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
modelVersionpublic TaskSchedule.Builder modelVersion(String modelVersion) This is a version number that is used by the service to upgrade objects if needed through releases of the service.- Parameters:
- modelVersion- the value to set
- Returns:
- this builder
 
 - 
modelTypepublic TaskSchedule.Builder modelType(String modelType) The type of the object.- Parameters:
- modelType- the value to set
- Returns:
- this builder
 
 - 
parentRefpublic TaskSchedule.Builder parentRef(ParentReference parentRef) 
 - 
namepublic TaskSchedule.Builder name(String name) Free form text without any restriction on permitted characters.Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic TaskSchedule.Builder description(String description) Detailed description for the object.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
objectVersionpublic TaskSchedule.Builder objectVersion(Integer objectVersion) This is used by the service for optimistic locking of the object, to prevent multiple users from simultaneously updating the object.- Parameters:
- objectVersion- the value to set
- Returns:
- this builder
 
 - 
objectStatuspublic TaskSchedule.Builder objectStatus(Integer objectStatus) The status of an object that can be set to value 1 for shallow references across objects, other values reserved.- Parameters:
- objectStatus- the value to set
- Returns:
- this builder
 
 - 
identifierpublic TaskSchedule.Builder identifier(String identifier) Value can only contain upper case letters, underscore, and numbers.It should begin with upper case letter or underscore. The value can be modified. - Parameters:
- identifier- the value to set
- Returns:
- this builder
 
 - 
scheduleRefpublic TaskSchedule.Builder scheduleRef(Schedule scheduleRef) 
 - 
configProviderDelegatepublic TaskSchedule.Builder configProviderDelegate(ConfigProvider configProviderDelegate) 
 - 
isEnabledpublic TaskSchedule.Builder isEnabled(Boolean isEnabled) Whether the schedule is enabled.- Parameters:
- isEnabled- the value to set
- Returns:
- this builder
 
 - 
retryAttemptspublic TaskSchedule.Builder retryAttempts(Integer retryAttempts) The number of retry attempts.- Parameters:
- retryAttempts- the value to set
- Returns:
- this builder
 
 - 
retryDelayUnitpublic TaskSchedule.Builder retryDelayUnit(TaskSchedule.RetryDelayUnit retryDelayUnit) The unit for the retry delay.- Parameters:
- retryDelayUnit- the value to set
- Returns:
- this builder
 
 - 
retryDelaypublic TaskSchedule.Builder retryDelay(Double retryDelay) The retry delay, the unit for measurement is in the property retry delay unit.- Parameters:
- retryDelay- the value to set
- Returns:
- this builder
 
 - 
startTimeMillispublic TaskSchedule.Builder startTimeMillis(Long startTimeMillis) The start time in milliseconds.- Parameters:
- startTimeMillis- the value to set
- Returns:
- this builder
 
 - 
endTimeMillispublic TaskSchedule.Builder endTimeMillis(Long endTimeMillis) The end time in milliseconds.- Parameters:
- endTimeMillis- the value to set
- Returns:
- this builder
 
 - 
isConcurrentAllowedpublic TaskSchedule.Builder isConcurrentAllowed(Boolean isConcurrentAllowed) Whether the same task can be executed concurrently.- Parameters:
- isConcurrentAllowed- the value to set
- Returns:
- this builder
 
 - 
isBackfillEnabledpublic TaskSchedule.Builder isBackfillEnabled(Boolean isBackfillEnabled) Whether the backfill is enabled- Parameters:
- isBackfillEnabled- the value to set
- Returns:
- this builder
 
 - 
authModepublic TaskSchedule.Builder authMode(TaskSchedule.AuthMode authMode) The authorization mode for the task.- Parameters:
- authMode- the value to set
- Returns:
- this builder
 
 - 
expectedDurationpublic TaskSchedule.Builder expectedDuration(Double expectedDuration) The expected duration of the task execution.- Parameters:
- expectedDuration- the value to set
- Returns:
- this builder
 
 - 
expectedDurationUnitpublic TaskSchedule.Builder expectedDurationUnit(TaskSchedule.ExpectedDurationUnit expectedDurationUnit) The expected duration unit of the task execution.- Parameters:
- expectedDurationUnit- the value to set
- Returns:
- this builder
 
 - 
lastRunDetailspublic TaskSchedule.Builder lastRunDetails(LastRunDetails lastRunDetails) 
 - 
metadatapublic TaskSchedule.Builder metadata(ObjectMetadata metadata) 
 - 
buildpublic TaskSchedule build() 
 - 
copypublic TaskSchedule.Builder copy(TaskSchedule model) 
 
- 
 
-