public static class CreateTaskScheduleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateTaskScheduleDetails.Builder |
authMode(CreateTaskScheduleDetails.AuthMode authMode)
The authorization mode for the task.
|
CreateTaskScheduleDetails |
build() |
CreateTaskScheduleDetails.Builder |
configProviderDelegate(ConfigProvider configProviderDelegate) |
CreateTaskScheduleDetails.Builder |
copy(CreateTaskScheduleDetails model) |
CreateTaskScheduleDetails.Builder |
description(String description)
Detailed description for the object.
|
CreateTaskScheduleDetails.Builder |
endTimeMillis(Long endTimeMillis)
The end time in milliseconds.
|
CreateTaskScheduleDetails.Builder |
expectedDuration(Double expectedDuration)
The expected duration of the task execution.
|
CreateTaskScheduleDetails.Builder |
expectedDurationUnit(CreateTaskScheduleDetails.ExpectedDurationUnit expectedDurationUnit)
The expected duration unit of the task execution.
|
CreateTaskScheduleDetails.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
CreateTaskScheduleDetails.Builder |
isBackfillEnabled(Boolean isBackfillEnabled)
Whether the backfill is enabled.
|
CreateTaskScheduleDetails.Builder |
isConcurrentAllowed(Boolean isConcurrentAllowed)
Whether the same task can be executed concurrently.
|
CreateTaskScheduleDetails.Builder |
isEnabled(Boolean isEnabled)
Whether the task schedule is enabled.
|
CreateTaskScheduleDetails.Builder |
key(String key)
Generated key that can be used in API calls to identify taskSchedule.
|
CreateTaskScheduleDetails.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.
|
CreateTaskScheduleDetails.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
CreateTaskScheduleDetails.Builder |
numberOfRetries(Integer numberOfRetries)
The number of retries.
|
CreateTaskScheduleDetails.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
CreateTaskScheduleDetails.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.
|
CreateTaskScheduleDetails.Builder |
parentRef(ParentReference parentRef) |
CreateTaskScheduleDetails.Builder |
registryMetadata(RegistryMetadata registryMetadata) |
CreateTaskScheduleDetails.Builder |
retryDelay(Double retryDelay)
The retry delay, the unit for measurement is in the property retry delay unit.
|
CreateTaskScheduleDetails.Builder |
retryDelayUnit(CreateTaskScheduleDetails.RetryDelayUnit retryDelayUnit)
The unit for the retry delay.
|
CreateTaskScheduleDetails.Builder |
scheduleRef(Schedule scheduleRef) |
CreateTaskScheduleDetails.Builder |
startTimeMillis(Long startTimeMillis)
The start time in milliseconds.
|
public CreateTaskScheduleDetails.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.
key
- the value to setpublic CreateTaskScheduleDetails.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.
modelVersion
- the value to setpublic CreateTaskScheduleDetails.Builder parentRef(ParentReference parentRef)
public CreateTaskScheduleDetails.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.
name
- the value to setpublic CreateTaskScheduleDetails.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic CreateTaskScheduleDetails.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.
objectVersion
- the value to setpublic CreateTaskScheduleDetails.Builder objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
objectStatus
- the value to setpublic CreateTaskScheduleDetails.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.
identifier
- the value to setpublic CreateTaskScheduleDetails.Builder scheduleRef(Schedule scheduleRef)
public CreateTaskScheduleDetails.Builder configProviderDelegate(ConfigProvider configProviderDelegate)
public CreateTaskScheduleDetails.Builder isEnabled(Boolean isEnabled)
Whether the task schedule is enabled.
isEnabled
- the value to setpublic CreateTaskScheduleDetails.Builder numberOfRetries(Integer numberOfRetries)
The number of retries.
numberOfRetries
- the value to setpublic CreateTaskScheduleDetails.Builder retryDelay(Double retryDelay)
The retry delay, the unit for measurement is in the property retry delay unit.
retryDelay
- the value to setpublic CreateTaskScheduleDetails.Builder retryDelayUnit(CreateTaskScheduleDetails.RetryDelayUnit retryDelayUnit)
The unit for the retry delay.
retryDelayUnit
- the value to setpublic CreateTaskScheduleDetails.Builder startTimeMillis(Long startTimeMillis)
The start time in milliseconds.
startTimeMillis
- the value to setpublic CreateTaskScheduleDetails.Builder endTimeMillis(Long endTimeMillis)
The end time in milliseconds.
endTimeMillis
- the value to setpublic CreateTaskScheduleDetails.Builder isConcurrentAllowed(Boolean isConcurrentAllowed)
Whether the same task can be executed concurrently.
isConcurrentAllowed
- the value to setpublic CreateTaskScheduleDetails.Builder isBackfillEnabled(Boolean isBackfillEnabled)
Whether the backfill is enabled.
isBackfillEnabled
- the value to setpublic CreateTaskScheduleDetails.Builder authMode(CreateTaskScheduleDetails.AuthMode authMode)
The authorization mode for the task.
authMode
- the value to setpublic CreateTaskScheduleDetails.Builder expectedDuration(Double expectedDuration)
The expected duration of the task execution.
expectedDuration
- the value to setpublic CreateTaskScheduleDetails.Builder expectedDurationUnit(CreateTaskScheduleDetails.ExpectedDurationUnit expectedDurationUnit)
The expected duration unit of the task execution.
expectedDurationUnit
- the value to setpublic CreateTaskScheduleDetails.Builder registryMetadata(RegistryMetadata registryMetadata)
public CreateTaskScheduleDetails build()
public CreateTaskScheduleDetails.Builder copy(CreateTaskScheduleDetails model)
Copyright © 2016–2024. All rights reserved.