Class IotRepublishMqttAction.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.IotRepublishMqttAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IotRepublishMqttAction>
- Enclosing class:
IotRepublishMqttAction
@Stability(Experimental)
public static final class IotRepublishMqttAction.Builder
extends Object
implements software.amazon.jsii.Builder<IotRepublishMqttAction>
(experimental) A fluent builder for
IotRepublishMqttAction
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
qualityOfService
(MqttQualityOfService qualityOfService) (experimental) The Quality of Service (QoS) level to use when republishing messages.(experimental) The IAM role that allows access to AWS service.
-
Method Details
-
create
- Parameters:
topic
- The MQTT topic to which to republish the message. This parameter is required.- Returns:
- a new instance of
IotRepublishMqttAction.Builder
.
-
role
(experimental) The IAM role that allows access to AWS service.Default: a new role will be created
- Parameters:
role
- The IAM role that allows access to AWS service. This parameter is required.- Returns:
this
-
qualityOfService
@Stability(Experimental) public IotRepublishMqttAction.Builder qualityOfService(MqttQualityOfService qualityOfService) (experimental) The Quality of Service (QoS) level to use when republishing messages.Default: MqttQualityOfService.ZERO_OR_MORE_TIMES
- Parameters:
qualityOfService
- The Quality of Service (QoS) level to use when republishing messages. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<IotRepublishMqttAction>
- Returns:
- a newly built instance of
IotRepublishMqttAction
.
-