Class RepublishAction
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.RepublishAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RepublishAction.Builder,RepublishAction>
@Generated("software.amazon.awssdk:codegen") public final class RepublishAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RepublishAction.Builder,RepublishAction>
Describes an action to republish to another topic.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRepublishAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RepublishAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MqttHeadersheaders()MQTT Version 5.0 headers information.Integerqos()The Quality of Service (QoS) level to use when republishing messages.StringroleArn()The ARN of the IAM role that grants access.List<SdkField<?>>sdkFields()static Class<? extends RepublishAction.Builder>serializableBuilderClass()RepublishAction.BuildertoBuilder()Stringtopic()The name of the MQTT topic.StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
roleArn
public final String roleArn()
The ARN of the IAM role that grants access.
- Returns:
- The ARN of the IAM role that grants access.
-
topic
public final String topic()
The name of the MQTT topic.
- Returns:
- The name of the MQTT topic.
-
qos
public final Integer qos()
The Quality of Service (QoS) level to use when republishing messages. The default value is 0.
- Returns:
- The Quality of Service (QoS) level to use when republishing messages. The default value is 0.
-
headers
public final MqttHeaders headers()
MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web Services IoT Core Developer Guide.
- Returns:
- MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web Services IoT Core Developer Guide.
-
toBuilder
public RepublishAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RepublishAction.Builder,RepublishAction>
-
builder
public static RepublishAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends RepublishAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final 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.
-
-