Interface SenderIdInformation.Builder

    • Method Detail

      • senderIdArn

        SenderIdInformation.Builder senderIdArn​(String senderIdArn)

        The Amazon Resource Name (ARN) associated with the SenderId.

        Parameters:
        senderIdArn - The Amazon Resource Name (ARN) associated with the SenderId.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • senderId

        SenderIdInformation.Builder senderId​(String senderId)

        The alphanumeric sender ID in a specific country that you'd like to describe.

        Parameters:
        senderId - The alphanumeric sender ID in a specific country that you'd like to describe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isoCountryCode

        SenderIdInformation.Builder isoCountryCode​(String isoCountryCode)

        The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

        Parameters:
        isoCountryCode - The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • messageTypesWithStrings

        SenderIdInformation.Builder messageTypesWithStrings​(Collection<String> messageTypes)

        The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

        Parameters:
        messageTypes - The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • messageTypesWithStrings

        SenderIdInformation.Builder messageTypesWithStrings​(String... messageTypes)

        The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

        Parameters:
        messageTypes - The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • messageTypes

        SenderIdInformation.Builder messageTypes​(Collection<MessageType> messageTypes)

        The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

        Parameters:
        messageTypes - The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • messageTypes

        SenderIdInformation.Builder messageTypes​(MessageType... messageTypes)

        The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

        Parameters:
        messageTypes - The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • monthlyLeasingPrice

        SenderIdInformation.Builder monthlyLeasingPrice​(String monthlyLeasingPrice)

        The monthly leasing price, in US dollars.

        Parameters:
        monthlyLeasingPrice - The monthly leasing price, in US dollars.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deletionProtectionEnabled

        SenderIdInformation.Builder deletionProtectionEnabled​(Boolean deletionProtectionEnabled)

        By default this is set to false. When set to true the sender ID can't be deleted.

        Parameters:
        deletionProtectionEnabled - By default this is set to false. When set to true the sender ID can't be deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • registered

        SenderIdInformation.Builder registered​(Boolean registered)

        True if the sender ID is registered.

        Parameters:
        registered - True if the sender ID is registered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • registrationId

        SenderIdInformation.Builder registrationId​(String registrationId)

        The unique identifier for the registration.

        Parameters:
        registrationId - The unique identifier for the registration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.