Interface RetainedMessageSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RetainedMessageSummary.Builder,RetainedMessageSummary>, SdkBuilder<RetainedMessageSummary.Builder,RetainedMessageSummary>, SdkPojo
Enclosing class:
RetainedMessageSummary

public static interface RetainedMessageSummary.Builder extends SdkPojo, CopyableBuilder<RetainedMessageSummary.Builder,RetainedMessageSummary>
  • Method Details

    • topic

      The topic name to which the retained message was published.

      Parameters:
      topic - The topic name to which the retained message was published.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payloadSize

      RetainedMessageSummary.Builder payloadSize(Long payloadSize)

      The size of the retained message's payload in bytes.

      Parameters:
      payloadSize - The size of the retained message's payload in bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • qos

      The quality of service (QoS) level used to publish the retained message.

      Parameters:
      qos - The quality of service (QoS) level used to publish the retained message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      RetainedMessageSummary.Builder lastModifiedTime(Long lastModifiedTime)

      The Epoch date and time, in milliseconds, when the retained message was stored by IoT.

      Parameters:
      lastModifiedTime - The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.