JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.pinpointsmsvoicev2.model

Class SendMediaMessageRequest

    • Constructor Detail

      • SendMediaMessageRequest

        public SendMediaMessageRequest()
    • Method Detail

      • setDestinationPhoneNumber

        public void setDestinationPhoneNumber(String destinationPhoneNumber)

        The destination phone number in E.164 format.

        Parameters:
        destinationPhoneNumber - The destination phone number in E.164 format.
      • getDestinationPhoneNumber

        public String getDestinationPhoneNumber()

        The destination phone number in E.164 format.

        Returns:
        The destination phone number in E.164 format.
      • withDestinationPhoneNumber

        public SendMediaMessageRequest withDestinationPhoneNumber(String destinationPhoneNumber)

        The destination phone number in E.164 format.

        Parameters:
        destinationPhoneNumber - The destination phone number in E.164 format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOriginationIdentity

        public void setOriginationIdentity(String originationIdentity)

        The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.

        Parameters:
        originationIdentity - The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
      • getOriginationIdentity

        public String getOriginationIdentity()

        The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.

        Returns:
        The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
      • withOriginationIdentity

        public SendMediaMessageRequest withOriginationIdentity(String originationIdentity)

        The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.

        Parameters:
        originationIdentity - The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMessageBody

        public void setMessageBody(String messageBody)

        The text body of the message.

        Parameters:
        messageBody - The text body of the message.
      • getMessageBody

        public String getMessageBody()

        The text body of the message.

        Returns:
        The text body of the message.
      • withMessageBody

        public SendMediaMessageRequest withMessageBody(String messageBody)

        The text body of the message.

        Parameters:
        messageBody - The text body of the message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConfigurationSetName

        public void setConfigurationSetName(String configurationSetName)

        The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

        Parameters:
        configurationSetName - The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
      • getConfigurationSetName

        public String getConfigurationSetName()

        The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

        Returns:
        The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
      • withConfigurationSetName

        public SendMediaMessageRequest withConfigurationSetName(String configurationSetName)

        The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

        Parameters:
        configurationSetName - The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaxPrice

        public void setMaxPrice(String maxPrice)

        The maximum amount that you want to spend, in US dollars, per each MMS message.

        Parameters:
        maxPrice - The maximum amount that you want to spend, in US dollars, per each MMS message.
      • getMaxPrice

        public String getMaxPrice()

        The maximum amount that you want to spend, in US dollars, per each MMS message.

        Returns:
        The maximum amount that you want to spend, in US dollars, per each MMS message.
      • withMaxPrice

        public SendMediaMessageRequest withMaxPrice(String maxPrice)

        The maximum amount that you want to spend, in US dollars, per each MMS message.

        Parameters:
        maxPrice - The maximum amount that you want to spend, in US dollars, per each MMS message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTimeToLive

        public void setTimeToLive(Integer timeToLive)

        How long the text message is valid for. By default this is 72 hours.

        Parameters:
        timeToLive - How long the text message is valid for. By default this is 72 hours.
      • getTimeToLive

        public Integer getTimeToLive()

        How long the text message is valid for. By default this is 72 hours.

        Returns:
        How long the text message is valid for. By default this is 72 hours.
      • withTimeToLive

        public SendMediaMessageRequest withTimeToLive(Integer timeToLive)

        How long the text message is valid for. By default this is 72 hours.

        Parameters:
        timeToLive - How long the text message is valid for. By default this is 72 hours.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getContext

        public Map<String,String> getContext()

        You can specify custom data in this field. If you do, that data is logged to the event destination.

        Returns:
        You can specify custom data in this field. If you do, that data is logged to the event destination.
      • setContext

        public void setContext(Map<String,String> context)

        You can specify custom data in this field. If you do, that data is logged to the event destination.

        Parameters:
        context - You can specify custom data in this field. If you do, that data is logged to the event destination.
      • withContext

        public SendMediaMessageRequest withContext(Map<String,String> context)

        You can specify custom data in this field. If you do, that data is logged to the event destination.

        Parameters:
        context - You can specify custom data in this field. If you do, that data is logged to the event destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearContextEntries

        public SendMediaMessageRequest clearContextEntries()
        Removes all the entries added into Context.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDryRun

        public void setDryRun(Boolean dryRun)

        When set to true, the message is checked and validated, but isn't sent to the end recipient.

        Parameters:
        dryRun - When set to true, the message is checked and validated, but isn't sent to the end recipient.
      • getDryRun

        public Boolean getDryRun()

        When set to true, the message is checked and validated, but isn't sent to the end recipient.

        Returns:
        When set to true, the message is checked and validated, but isn't sent to the end recipient.
      • withDryRun

        public SendMediaMessageRequest withDryRun(Boolean dryRun)

        When set to true, the message is checked and validated, but isn't sent to the end recipient.

        Parameters:
        dryRun - When set to true, the message is checked and validated, but isn't sent to the end recipient.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDryRun

        public Boolean isDryRun()

        When set to true, the message is checked and validated, but isn't sent to the end recipient.

        Returns:
        When set to true, the message is checked and validated, but isn't sent to the end recipient.
      • setProtectConfigurationId

        public void setProtectConfigurationId(String protectConfigurationId)

        The unique identifier of the protect configuration to use.

        Parameters:
        protectConfigurationId - The unique identifier of the protect configuration to use.
      • getProtectConfigurationId

        public String getProtectConfigurationId()

        The unique identifier of the protect configuration to use.

        Returns:
        The unique identifier of the protect configuration to use.
      • withProtectConfigurationId

        public SendMediaMessageRequest withProtectConfigurationId(String protectConfigurationId)

        The unique identifier of the protect configuration to use.

        Parameters:
        protectConfigurationId - The unique identifier of the protect configuration to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /