public final class Schedule
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Storage Transfer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Schedule() |
Modifier and Type | Method and Description |
---|---|
Schedule |
clone() |
Date |
getScheduleEndDate()
The last day a transfer runs.
|
Date |
getScheduleStartDate()
Required.
|
TimeOfDay |
getStartTimeOfDay()
The time in UTC that a transfer job is scheduled to run.
|
Schedule |
set(java.lang.String fieldName,
java.lang.Object value) |
Schedule |
setScheduleEndDate(Date scheduleEndDate)
The last day a transfer runs.
|
Schedule |
setScheduleStartDate(Date scheduleStartDate)
Required.
|
Schedule |
setStartTimeOfDay(TimeOfDay startTimeOfDay)
The time in UTC that a transfer job is scheduled to run.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Date getScheduleEndDate()
null
for nonepublic Schedule setScheduleEndDate(Date scheduleEndDate)
scheduleEndDate
- scheduleEndDate or null
for nonepublic Date getScheduleStartDate()
null
for nonepublic Schedule setScheduleStartDate(Date scheduleStartDate)
scheduleStartDate
- scheduleStartDate or null
for nonepublic TimeOfDay getStartTimeOfDay()
null
for nonepublic Schedule setStartTimeOfDay(TimeOfDay startTimeOfDay)
startTimeOfDay
- startTimeOfDay or null
for nonepublic Schedule set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Schedule clone()
clone
in class com.google.api.client.json.GenericJson