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