public static class CreateScheduleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateScheduleDetails |
build() |
CreateScheduleDetails.Builder |
copy(CreateScheduleDetails model) |
CreateScheduleDetails.Builder |
description(String description)
Detailed description for the object.
|
CreateScheduleDetails.Builder |
frequencyDetails(AbstractFrequencyDetails frequencyDetails) |
CreateScheduleDetails.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
CreateScheduleDetails.Builder |
isDaylightAdjustmentEnabled(Boolean isDaylightAdjustmentEnabled)
A flag to indicate whether daylight adjustment should be considered or not.
|
CreateScheduleDetails.Builder |
key(String key)
Generated key that can be used in API calls to identify schedule.
|
CreateScheduleDetails.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.
|
CreateScheduleDetails.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
CreateScheduleDetails.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
CreateScheduleDetails.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.
|
CreateScheduleDetails.Builder |
registryMetadata(RegistryMetadata registryMetadata) |
CreateScheduleDetails.Builder |
timezone(String timezone)
The timezone for the schedule.
|
public CreateScheduleDetails.Builder key(String key)
Generated key that can be used in API calls to identify schedule. On scenarios where reference to the schedule is needed, a value can be passed in create.
key
- the value to setpublic CreateScheduleDetails.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 CreateScheduleDetails.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 CreateScheduleDetails.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic CreateScheduleDetails.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 CreateScheduleDetails.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 CreateScheduleDetails.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 CreateScheduleDetails.Builder frequencyDetails(AbstractFrequencyDetails frequencyDetails)
public CreateScheduleDetails.Builder timezone(String timezone)
The timezone for the schedule.
timezone
- the value to setpublic CreateScheduleDetails.Builder isDaylightAdjustmentEnabled(Boolean isDaylightAdjustmentEnabled)
A flag to indicate whether daylight adjustment should be considered or not.
isDaylightAdjustmentEnabled
- the value to setpublic CreateScheduleDetails.Builder registryMetadata(RegistryMetadata registryMetadata)
public CreateScheduleDetails build()
public CreateScheduleDetails.Builder copy(CreateScheduleDetails model)
Copyright © 2016–2024. All rights reserved.