Class PutMessage.Builder

  • Enclosing class:
    PutMessage

    public static class PutMessage.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public PutMessage.Builder id​(Long id)
        The ID of the message.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • expireAfter

        public PutMessage.Builder expireAfter​(Date expireAfter)
        The time after which the message will be automatically deleted, expressed in RFC 3339 timestamp format.

        Example: 2018-04-20T00:00:07.405Z

        Parameters:
        expireAfter - the value to set
        Returns:
        this builder