Interface VoiceChannelResponse.Builder

    • Method Detail

      • applicationId

        VoiceChannelResponse.Builder applicationId​(String applicationId)

        The unique identifier for the application that the voice channel applies to.

        Parameters:
        applicationId - The unique identifier for the application that the voice channel applies to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        VoiceChannelResponse.Builder creationDate​(String creationDate)

        The date and time, in ISO 8601 format, when the voice channel was enabled.

        Parameters:
        creationDate - The date and time, in ISO 8601 format, when the voice channel was enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabled

        VoiceChannelResponse.Builder enabled​(Boolean enabled)

        Specifies whether the voice channel is enabled for the application.

        Parameters:
        enabled - Specifies whether the voice channel is enabled for the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hasCredential

        VoiceChannelResponse.Builder hasCredential​(Boolean hasCredential)

        (Not used) This property is retained only for backward compatibility.

        Parameters:
        hasCredential - (Not used) This property is retained only for backward compatibility.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        VoiceChannelResponse.Builder id​(String id)

        (Deprecated) An identifier for the voice channel. This property is retained only for backward compatibility.

        Parameters:
        id - (Deprecated) An identifier for the voice channel. This property is retained only for backward compatibility.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isArchived

        VoiceChannelResponse.Builder isArchived​(Boolean isArchived)

        Specifies whether the voice channel is archived.

        Parameters:
        isArchived - Specifies whether the voice channel is archived.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedBy

        VoiceChannelResponse.Builder lastModifiedBy​(String lastModifiedBy)

        The user who last modified the voice channel.

        Parameters:
        lastModifiedBy - The user who last modified the voice channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedDate

        VoiceChannelResponse.Builder lastModifiedDate​(String lastModifiedDate)

        The date and time, in ISO 8601 format, when the voice channel was last modified.

        Parameters:
        lastModifiedDate - The date and time, in ISO 8601 format, when the voice channel was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • platform

        VoiceChannelResponse.Builder platform​(String platform)

        The type of messaging or notification platform for the channel. For the voice channel, this value is VOICE.

        Parameters:
        platform - The type of messaging or notification platform for the channel. For the voice channel, this value is VOICE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        VoiceChannelResponse.Builder version​(Integer version)

        The current version of the voice channel.

        Parameters:
        version - The current version of the voice channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.