Class CfnTopicRule.SqsActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRule.SqsActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRule.SqsActionProperty>
- Enclosing interface:
CfnTopicRule.SqsActionProperty
@Stability(Stable)
public static final class CfnTopicRule.SqsActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRule.SqsActionProperty>
A builder for
CfnTopicRule.SqsActionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTopicRule.SqsActionProperty.getQueueUrl()
Sets the value ofCfnTopicRule.SqsActionProperty.getRoleArn()
Sets the value ofCfnTopicRule.SqsActionProperty.getUseBase64()
useBase64
(IResolvable useBase64) Sets the value ofCfnTopicRule.SqsActionProperty.getUseBase64()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
queueUrl
Sets the value ofCfnTopicRule.SqsActionProperty.getQueueUrl()
- Parameters:
queueUrl
- The URL of the Amazon SQS queue. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnTopicRule.SqsActionProperty.getRoleArn()
- Parameters:
roleArn
- The ARN of the IAM role that grants access. This parameter is required.- Returns:
this
-
useBase64
Sets the value ofCfnTopicRule.SqsActionProperty.getUseBase64()
- Parameters:
useBase64
- Specifies whether to use Base64 encoding.- Returns:
this
-
useBase64
Sets the value ofCfnTopicRule.SqsActionProperty.getUseBase64()
- Parameters:
useBase64
- Specifies whether to use Base64 encoding.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopicRule.SqsActionProperty>
- Returns:
- a new instance of
CfnTopicRule.SqsActionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-