public static final class ConfigurationModel.Builder
extends java.lang.Object
ConfigurationModel
.Constructor and Description |
---|
ConfigurationModel.Builder()
Constructor with parameters for the required properties of
ConfigurationModel . |
Modifier and Type | Method and Description |
---|---|
ConfigurationModel |
build() |
ConfigurationModel.Builder |
setAutomaticSyncEnabled(java.lang.Boolean automaticSyncEnabled)
Whether automatic synchronization is enabled.
|
ConfigurationModel.Builder |
setAutomaticSyncStartHour(java.lang.Long automaticSyncStartHour)
The hour at which the automatic synchronization will start.
|
ConfigurationModel.Builder |
setAutomaticSyncStopHour(java.lang.Long automaticSyncStopHour)
The hour at which the automatic synchronization will stop.
|
ConfigurationModel.Builder |
setMaximumConcurrentItemSyncs(java.lang.Long maximumConcurrentItemSyncs)
The maximum allowed number of library items to synchronize concurrently from
remote libraries.
|
public ConfigurationModel.Builder()
ConfigurationModel
.public ConfigurationModel.Builder setAutomaticSyncEnabled(java.lang.Boolean automaticSyncEnabled)
When automatic
synchronization is enabled, the Content Library Service will automatically
synchronize all subscribed libraries on a daily basis. Subscribed libraries with
the SubscriptionInfo.getAutomaticSyncEnabled()
flag turned on will be synchronized every hour between ConfigurationModel.getAutomaticSyncStartHour()
and ConfigurationModel.getAutomaticSyncStopHour()
.
create
method. It will always be
present in the return value of the get
or list
methods. It is
optional for the update
method.automaticSyncEnabled
- New value for the property.public ConfigurationModel.Builder setAutomaticSyncStartHour(java.lang.Long automaticSyncStartHour)
create
method. It will always be
present in the return value of the get
or list
methods. It is
optional for the update
method.automaticSyncStartHour
- New value for the property.public ConfigurationModel.Builder setAutomaticSyncStopHour(java.lang.Long automaticSyncStopHour)
create
method. It will always be
present in the return value of the get
or list
methods. It is
optional for the update
method.automaticSyncStopHour
- New value for the property.public ConfigurationModel.Builder setMaximumConcurrentItemSyncs(java.lang.Long maximumConcurrentItemSyncs)
This setting is global across all subscribed libraries.
This property is not used for thecreate
method. It will always be
present in the return value of the get
or list
methods. It is
optional for the update
method.maximumConcurrentItemSyncs
- New value for the property.public ConfigurationModel build()