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