@Stability(value=Stable) public static final class CfnTopicRule.RepublishActionHeadersProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTopicRule.RepublishActionHeadersProperty>
CfnTopicRule.RepublishActionHeadersProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnTopicRule.RepublishActionHeadersProperty.Builder contentType(String contentType)
CfnTopicRule.RepublishActionHeadersProperty.getContentType()contentType - A UTF-8 encoded string that describes the content of the publishing message.
For more information, see Content Type in the MQTT Version 5.0 specification.
Supports substitution templates .
this@Stability(value=Stable) public CfnTopicRule.RepublishActionHeadersProperty.Builder correlationData(String correlationData)
CfnTopicRule.RepublishActionHeadersProperty.getCorrelationData()correlationData - The base64-encoded binary data used by the sender of the request message to identify which request the response message is for.
For more information, see Correlation Data in the MQTT Version 5.0 specification.
Supports substitution templates .
This binary data must be base64-encoded.
this@Stability(value=Stable) public CfnTopicRule.RepublishActionHeadersProperty.Builder messageExpiry(String messageExpiry)
CfnTopicRule.RepublishActionHeadersProperty.getMessageExpiry()messageExpiry - A user-defined integer value that represents the message expiry interval at the broker.
If the messages haven't been sent to the subscribers within that interval, the message expires and is removed. The value of messageExpiry represents the number of seconds before it expires. For more information about the limits of messageExpiry , see Message broker and protocol limits and quotas in the IoT Core Reference Guide.
Supports substitution templates .
this@Stability(value=Stable) public CfnTopicRule.RepublishActionHeadersProperty.Builder payloadFormatIndicator(String payloadFormatIndicator)
CfnTopicRule.RepublishActionHeadersProperty.getPayloadFormatIndicator()payloadFormatIndicator - An `Enum` string value that indicates whether the payload is formatted as UTF-8.
Valid values are UNSPECIFIED_BYTES and UTF8_DATA .
For more information, see Payload Format Indicator from the MQTT Version 5.0 specification.
Supports substitution templates .
this@Stability(value=Stable) public CfnTopicRule.RepublishActionHeadersProperty.Builder responseTopic(String responseTopic)
CfnTopicRule.RepublishActionHeadersProperty.getResponseTopic()responseTopic - A UTF-8 encoded string that's used as the topic name for a response message.
The response topic is used to describe the topic to which the receiver should publish as part of the request-response flow. The topic must not contain wildcard characters.
For more information, see Response Topic in the MQTT Version 5.0 specification.
Supports substitution templates .
this@Stability(value=Stable) public CfnTopicRule.RepublishActionHeadersProperty.Builder userProperties(IResolvable userProperties)
CfnTopicRule.RepublishActionHeadersProperty.getUserProperties()userProperties - An array of key-value pairs that you define in the MQTT5 header.this@Stability(value=Stable) public CfnTopicRule.RepublishActionHeadersProperty.Builder userProperties(List<? extends Object> userProperties)
CfnTopicRule.RepublishActionHeadersProperty.getUserProperties()userProperties - An array of key-value pairs that you define in the MQTT5 header.this@Stability(value=Stable) public CfnTopicRule.RepublishActionHeadersProperty build()
build in interface software.amazon.jsii.Builder<CfnTopicRule.RepublishActionHeadersProperty>CfnTopicRule.RepublishActionHeadersPropertyNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.