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