Interface RcsFallbackConfiguration.Builder

  • Method Details

    • channel

      The fallback channel to use when RCS delivery fails. Valid values are SMS and MMS. SMS and MMS are mutually exclusive.

      Parameters:
      channel - The fallback channel to use when RCS delivery fails. Valid values are SMS and MMS. SMS and MMS are mutually exclusive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • channel

      The fallback channel to use when RCS delivery fails. Valid values are SMS and MMS. SMS and MMS are mutually exclusive.

      Parameters:
      channel - The fallback channel to use when RCS delivery fails. Valid values are SMS and MMS. SMS and MMS are mutually exclusive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • messageBody

      RcsFallbackConfiguration.Builder messageBody(String messageBody)

      The text body of the fallback message. Required for SMS fallback. For MMS fallback, at least one of MessageBody or MediaUrls must be provided.

      Parameters:
      messageBody - The text body of the fallback message. Required for SMS fallback. For MMS fallback, at least one of MessageBody or MediaUrls must be provided.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mediaUrls

      An array of S3 URIs to media files for MMS fallback. Only valid when Channel is MMS.

      Parameters:
      mediaUrls - An array of S3 URIs to media files for MMS fallback. Only valid when Channel is MMS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mediaUrls

      RcsFallbackConfiguration.Builder mediaUrls(String... mediaUrls)

      An array of S3 URIs to media files for MMS fallback. Only valid when Channel is MMS.

      Parameters:
      mediaUrls - An array of S3 URIs to media files for MMS fallback. Only valid when Channel is MMS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • originationIdentity

      RcsFallbackConfiguration.Builder originationIdentity(String originationIdentity)

      The origination identity to use for the fallback message. This can be a PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn. Pool IDs and pool ARNs are not accepted. If not specified and the original message was sent via a pool, the service selects a suitable number from the pool.

      Parameters:
      originationIdentity - The origination identity to use for the fallback message. This can be a PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn. Pool IDs and pool ARNs are not accepted. If not specified and the original message was sent via a pool, the service selects a suitable number from the pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.