Class IotRepublishMqttActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.IotRepublishMqttActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IotRepublishMqttActionProps>
- Enclosing interface:
IotRepublishMqttActionProps
@Stability(Experimental)
public static final class IotRepublishMqttActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<IotRepublishMqttActionProps>
A builder for
IotRepublishMqttActionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.qualityOfService
(MqttQualityOfService qualityOfService) Sets the value ofIotRepublishMqttActionProps.getQualityOfService()
Sets the value ofCommonActionProps.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
qualityOfService
@Stability(Experimental) public IotRepublishMqttActionProps.Builder qualityOfService(MqttQualityOfService qualityOfService) Sets the value ofIotRepublishMqttActionProps.getQualityOfService()
- Parameters:
qualityOfService
- The Quality of Service (QoS) level to use when republishing messages.- Returns:
this
-
role
Sets the value ofCommonActionProps.getRole()
- Parameters:
role
- The IAM role that allows access to AWS service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<IotRepublishMqttActionProps>
- Returns:
- a new instance of
IotRepublishMqttActionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-