Interface SMSChannelResponse.Builder

    • Method Detail

      • applicationId

        SMSChannelResponse.Builder applicationId​(String applicationId)

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

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

        SMSChannelResponse.Builder creationDate​(String creationDate)

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

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

        SMSChannelResponse.Builder enabled​(Boolean enabled)

        Specifies whether the SMS channel is enabled for the application.

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

        SMSChannelResponse.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

        SMSChannelResponse.Builder id​(String id)

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

        Parameters:
        id - (Deprecated) An identifier for the SMS 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

        SMSChannelResponse.Builder isArchived​(Boolean isArchived)

        Specifies whether the SMS channel is archived.

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

        SMSChannelResponse.Builder lastModifiedBy​(String lastModifiedBy)

        The user who last modified the SMS channel.

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

        SMSChannelResponse.Builder lastModifiedDate​(String lastModifiedDate)

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

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

        SMSChannelResponse.Builder platform​(String platform)

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

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

        SMSChannelResponse.Builder promotionalMessagesPerSecond​(Integer promotionalMessagesPerSecond)

        The maximum number of promotional messages that you can send through the SMS channel each second.

        Parameters:
        promotionalMessagesPerSecond - The maximum number of promotional messages that you can send through the SMS channel each second.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • senderId

        SMSChannelResponse.Builder senderId​(String senderId)

        The identity that displays on recipients' devices when they receive messages from the SMS channel.

        Parameters:
        senderId - The identity that displays on recipients' devices when they receive messages from the SMS channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shortCode

        SMSChannelResponse.Builder shortCode​(String shortCode)

        The registered short code to use when you send messages through the SMS channel.

        Parameters:
        shortCode - The registered short code to use when you send messages through the SMS channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transactionalMessagesPerSecond

        SMSChannelResponse.Builder transactionalMessagesPerSecond​(Integer transactionalMessagesPerSecond)

        The maximum number of transactional messages that you can send through the SMS channel each second.

        Parameters:
        transactionalMessagesPerSecond - The maximum number of transactional messages that you can send through the SMS channel each second.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        SMSChannelResponse.Builder version​(Integer version)

        The current version of the SMS channel.

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