Interface OpenHours.Builder

    • Method Detail

      • emailWithStrings

        OpenHours.Builder emailWithStrings​(Map<String,​? extends Collection<OpenHoursRule>> email)

        Specifies the schedule settings for the email channel.

        Parameters:
        email - Specifies the schedule settings for the email channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • email

        OpenHours.Builder email​(Map<DayOfWeek,​? extends Collection<OpenHoursRule>> email)

        Specifies the schedule settings for the email channel.

        Parameters:
        email - Specifies the schedule settings for the email channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • smsWithStrings

        OpenHours.Builder smsWithStrings​(Map<String,​? extends Collection<OpenHoursRule>> sms)

        Specifies the schedule settings for the SMS channel.

        Parameters:
        sms - Specifies the schedule settings for the SMS channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sms

        OpenHours.Builder sms​(Map<DayOfWeek,​? extends Collection<OpenHoursRule>> sms)

        Specifies the schedule settings for the SMS channel.

        Parameters:
        sms - Specifies the schedule settings for the SMS channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pushWithStrings

        OpenHours.Builder pushWithStrings​(Map<String,​? extends Collection<OpenHoursRule>> push)

        Specifies the schedule settings for the push channel.

        Parameters:
        push - Specifies the schedule settings for the push channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • push

        OpenHours.Builder push​(Map<DayOfWeek,​? extends Collection<OpenHoursRule>> push)

        Specifies the schedule settings for the push channel.

        Parameters:
        push - Specifies the schedule settings for the push channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • voiceWithStrings

        OpenHours.Builder voiceWithStrings​(Map<String,​? extends Collection<OpenHoursRule>> voice)

        Specifies the schedule settings for the voice channel.

        Parameters:
        voice - Specifies the schedule settings for the voice channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • voice

        OpenHours.Builder voice​(Map<DayOfWeek,​? extends Collection<OpenHoursRule>> voice)

        Specifies the schedule settings for the voice channel.

        Parameters:
        voice - Specifies the schedule settings for the voice channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customWithStrings

        OpenHours.Builder customWithStrings​(Map<String,​? extends Collection<OpenHoursRule>> custom)

        Specifies the schedule settings for the custom channel.

        Parameters:
        custom - Specifies the schedule settings for the custom channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • custom

        OpenHours.Builder custom​(Map<DayOfWeek,​? extends Collection<OpenHoursRule>> custom)

        Specifies the schedule settings for the custom channel.

        Parameters:
        custom - Specifies the schedule settings for the custom channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.