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