public class SourceSchedule
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
SourceSchedule.Builder
Builder.
|
static interface |
SourceSchedule.Frequency
The crawl schedule in the specified **time_zone**.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Gets the enabled.
|
String |
frequency()
Gets the frequency.
|
SourceSchedule.Builder |
newBuilder()
New builder.
|
String |
timeZone()
Gets the timeZone.
|
public SourceSchedule.Builder newBuilder()
public Boolean enabled()
When `true`, the source is re-crawled based on the **frequency** field in this object. When `false` the source is not re-crawled; When `false` and connecting to Salesforce the source is crawled annually.
public String timeZone()
The time zone to base source crawl times on. Possible values correspond to the IANA (Internet Assigned Numbers Authority) time zones list.
public String frequency()
The crawl schedule in the specified **time_zone**.
- `five_minutes`: Runs every five minutes. - `hourly`: Runs every hour. - `daily`: Runs every day between 00:00 and 06:00. - `weekly`: Runs every week on Sunday between 00:00 and 06:00. - `monthly`: Runs the on the first Sunday of every month between 00:00 and 06:00.
Copyright © 2022 IBM Cloud. All rights reserved.