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 interface
RepublishAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RepublishAction.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
MqttHeaders
headers()
MQTT Version 5.0 headers information.Integer
qos()
The Quality of Service (QoS) level to use when republishing messages.String
roleArn()
The ARN of the IAM role that grants access.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends RepublishAction.Builder>
serializableBuilderClass()
RepublishAction.Builder
toBuilder()
String
topic()
The name of the MQTT topic.String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-