Interface GetCalendarStateResponse.Builder

    • Method Detail

      • state

        GetCalendarStateResponse.Builder state​(String state)

        The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed, and a CLOSED calendar indicates that actions aren't allowed to proceed.

        Parameters:
        state - The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed, and a CLOSED calendar indicates that actions aren't allowed to proceed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CalendarState, CalendarState
      • state

        GetCalendarStateResponse.Builder state​(CalendarState state)

        The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed, and a CLOSED calendar indicates that actions aren't allowed to proceed.

        Parameters:
        state - The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed, and a CLOSED calendar indicates that actions aren't allowed to proceed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CalendarState, CalendarState
      • atTime

        GetCalendarStateResponse.Builder atTime​(String atTime)

        The time, as an ISO 8601 string, that you specified in your command. If you don't specify a time, GetCalendarState uses the current time.

        Parameters:
        atTime - The time, as an ISO 8601 string, that you specified in your command. If you don't specify a time, GetCalendarState uses the current time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextTransitionTime

        GetCalendarStateResponse.Builder nextTransitionTime​(String nextTransitionTime)

        The time, as an ISO 8601 string, that the calendar state will change. If the current calendar state is OPEN, NextTransitionTime indicates when the calendar state changes to CLOSED, and vice-versa.

        Parameters:
        nextTransitionTime - The time, as an ISO 8601 string, that the calendar state will change. If the current calendar state is OPEN, NextTransitionTime indicates when the calendar state changes to CLOSED, and vice-versa.
        Returns:
        Returns a reference to this object so that method calls can be chained together.