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 | Field and Description |
---|---|
protected java.lang.Boolean |
enabled |
protected java.lang.String |
frequency |
protected java.lang.String |
timeZone |
Modifier | Constructor and Description |
---|---|
protected |
SourceSchedule(SourceSchedule.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
enabled()
Gets the enabled.
|
java.lang.String |
frequency()
Gets the frequency.
|
SourceSchedule.Builder |
newBuilder()
New builder.
|
java.lang.String |
timeZone()
Gets the timeZone.
|
protected java.lang.Boolean enabled
@SerializedName(value="time_zone") protected java.lang.String timeZone
protected java.lang.String frequency
protected SourceSchedule(SourceSchedule.Builder builder)
public SourceSchedule.Builder newBuilder()
public java.lang.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 java.lang.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 java.lang.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.