Interface SchedulePeriod.Builder

  • Method Details

    • startTime

      SchedulePeriod.Builder startTime(Instant startTime)

      The start time of the schedule period. If not specified, defaults to the time of the create or update request. The start time cannot be more than 5 minutes before the time of the request.

      Parameters:
      startTime - The start time of the schedule period. If not specified, defaults to the time of the create or update request. The start time cannot be more than 5 minutes before the time of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      SchedulePeriod.Builder endTime(Instant endTime)

      The end time of the schedule period. If not specified, defaults to 3 years from the time of the create or update request. The maximum allowed value is 3 years from the current time. Setting an end time beyond this limit returns a ValidationException.

      Parameters:
      endTime - The end time of the schedule period. If not specified, defaults to 3 years from the time of the create or update request. The maximum allowed value is 3 years from the current time. Setting an end time beyond this limit returns a ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.