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