Interface UpdateSenderIdResponse.Builder

    • Method Detail

      • senderIdArn

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

        UpdateSenderIdResponse.Builder senderId​(String senderId)

        The sender ID that was updated.

        Parameters:
        senderId - The sender ID that was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isoCountryCode

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

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

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

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

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

        UpdateSenderIdResponse.Builder monthlyLeasingPrice​(String monthlyLeasingPrice)

        The monthly price, in US dollars, to lease the sender ID.

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

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

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

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