ScheduleResponse class
Transfers can be scheduled to recur or to run just once.
Constructors
-
ScheduleResponse({required Input<
TimeOfDayResponse> endTimeOfDay, required Input<String> repeatInterval, required Input<DateResponse> scheduleEndDate, required Input<DateResponse> scheduleStartDate, required Input<TimeOfDayResponse> startTimeOfDay}) -
Creates a new ScheduleResponse.
endTimeOfDayThe time in UTC that no further transfer operations are scheduled. Combined with schedule_end_date,end_time_of_dayspecifies the end date and time for starting new transfer operations. This field must be greater than or equal to the timestamp corresponding to the combintation of schedule_start_date and start_time_of_day, and is subject to the following: * Ifend_time_of_dayis not set andschedule_end_dateis set, then a default value of23:59:59is used forend_time_of_day. * Ifend_time_of_dayis set andschedule_end_dateis not set, then INVALID_ARGUMENT is returned.repeatIntervalInterval between the start of each scheduled TransferOperation. If unspecified, the default value is 24 hours. This value may not be less than 1 hour.scheduleEndDateThe last day a transfer runs. Date boundaries are determined relative to UTC time. A job runs once per 24 hours within the following guidelines: * Ifschedule_end_dateand schedule_start_date are the same and in the future relative to UTC, the transfer is executed only one time. * Ifschedule_end_dateis later thanschedule_start_dateandschedule_end_dateis in the future relative to UTC, the job runs each day at start_time_of_day throughschedule_end_date.scheduleStartDateThe start date of a transfer. Date boundaries are determined relative to UTC time. Ifschedule_start_dateand start_time_of_day are in the past relative to the job's creation time, the transfer starts the day after you schedule the transfer request. Note: When starting jobs at or near midnight UTC it is possible that a job starts later than expected. For example, if you send an outbound request on June 1 one millisecond prior to midnight UTC and the Storage Transfer Service server receives the request on June 2, then it creates a TransferJob withschedule_start_dateset to June 2 and astart_time_of_dayset to midnight UTC. The first scheduled TransferOperation takes place on June 3 at midnight UTC.startTimeOfDayThe time in UTC that a transfer job is scheduled to run. Transfers may start later than this time. Ifstart_time_of_dayis not specified: * One-time transfers run immediately. * Recurring transfers run immediately, and each day at midnight UTC, through schedule_end_date. Ifstart_time_of_dayis specified: * One-time transfers run at the specified time. * Recurring transfers run at the specified time each day, throughschedule_end_date.const -
ScheduleResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
endTimeOfDay
→ Input<
TimeOfDayResponse> -
The time in UTC that no further transfer operations are scheduled. Combined with schedule_end_date,
end_time_of_dayspecifies the end date and time for starting new transfer operations. This field must be greater than or equal to the timestamp corresponding to the combintation of schedule_start_date and start_time_of_day, and is subject to the following: * Ifend_time_of_dayis not set andschedule_end_dateis set, then a default value of23:59:59is used forend_time_of_day. * Ifend_time_of_dayis set andschedule_end_dateis not set, then INVALID_ARGUMENT is returned.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
repeatInterval
→ Input<
String> -
Interval between the start of each scheduled TransferOperation. If unspecified, the default value is 24 hours. This value may not be less than 1 hour.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scheduleEndDate
→ Input<
DateResponse> -
The last day a transfer runs. Date boundaries are determined relative to UTC time. A job runs once per 24 hours within the following guidelines: * If
schedule_end_dateand schedule_start_date are the same and in the future relative to UTC, the transfer is executed only one time. * Ifschedule_end_dateis later thanschedule_start_dateandschedule_end_dateis in the future relative to UTC, the job runs each day at start_time_of_day throughschedule_end_date.final -
scheduleStartDate
→ Input<
DateResponse> -
The start date of a transfer. Date boundaries are determined relative to UTC time. If
schedule_start_dateand start_time_of_day are in the past relative to the job's creation time, the transfer starts the day after you schedule the transfer request. Note: When starting jobs at or near midnight UTC it is possible that a job starts later than expected. For example, if you send an outbound request on June 1 one millisecond prior to midnight UTC and the Storage Transfer Service server receives the request on June 2, then it creates a TransferJob withschedule_start_dateset to June 2 and astart_time_of_dayset to midnight UTC. The first scheduled TransferOperation takes place on June 3 at midnight UTC.final -
startTimeOfDay
→ Input<
TimeOfDayResponse> -
The time in UTC that a transfer job is scheduled to run. Transfers may start later than this time. If
start_time_of_dayis not specified: * One-time transfers run immediately. * Recurring transfers run immediately, and each day at midnight UTC, through schedule_end_date. Ifstart_time_of_dayis specified: * One-time transfers run at the specified time. * Recurring transfers run at the specified time each day, throughschedule_end_date.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited