Class SendVoiceMessageRequest

    • Method Detail

      • callerId

        public final String callerId()
        The phone number that appears on recipients' devices when they receive the message.
        Returns:
        The phone number that appears on recipients' devices when they receive the message.
      • configurationSetName

        public final String configurationSetName()
        The name of the configuration set that you want to use to send the message.
        Returns:
        The name of the configuration set that you want to use to send the message.
      • content

        public final VoiceMessageContent content()
        Returns the value of the Content property for this object.
        Returns:
        The value of the Content property for this object.
      • destinationPhoneNumber

        public final String destinationPhoneNumber()
        The phone number that you want to send the voice message to.
        Returns:
        The phone number that you want to send the voice message to.
      • originationPhoneNumber

        public final String originationPhoneNumber()
        The phone number that Amazon Pinpoint should use to send the voice message. This isn't necessarily the phone number that appears on recipients' devices when they receive the message, because you can specify a CallerId parameter in the request.
        Returns:
        The phone number that Amazon Pinpoint should use to send the voice message. This isn't necessarily the phone number that appears on recipients' devices when they receive the message, because you can specify a CallerId parameter in the request.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object