Class CfnDetectorModel.SqsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnDetectorModel.SqsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModel.SqsProperty>
- Enclosing interface:
CfnDetectorModel.SqsProperty
@Stability(Stable)
public static final class CfnDetectorModel.SqsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModel.SqsProperty>
A builder for
CfnDetectorModel.SqsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.payload(IResolvable payload) Sets the value ofCfnDetectorModel.SqsProperty.getPayload()payload(CfnDetectorModel.PayloadProperty payload) Sets the value ofCfnDetectorModel.SqsProperty.getPayload()Sets the value ofCfnDetectorModel.SqsProperty.getQueueUrl()Sets the value ofCfnDetectorModel.SqsProperty.getUseBase64()useBase64(IResolvable useBase64) Sets the value ofCfnDetectorModel.SqsProperty.getUseBase64()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
queueUrl
Sets the value ofCfnDetectorModel.SqsProperty.getQueueUrl()- Parameters:
queueUrl- The URL of the SQS queue where the data is written. This parameter is required.- Returns:
this
-
payload
Sets the value ofCfnDetectorModel.SqsProperty.getPayload()- Parameters:
payload- You can configure the action payload when you send a message to an Amazon SQS queue.- Returns:
this
-
payload
@Stability(Stable) public CfnDetectorModel.SqsProperty.Builder payload(CfnDetectorModel.PayloadProperty payload) Sets the value ofCfnDetectorModel.SqsProperty.getPayload()- Parameters:
payload- You can configure the action payload when you send a message to an Amazon SQS queue.- Returns:
this
-
useBase64
Sets the value ofCfnDetectorModel.SqsProperty.getUseBase64()- Parameters:
useBase64- Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.- Returns:
this
-
useBase64
Sets the value ofCfnDetectorModel.SqsProperty.getUseBase64()- Parameters:
useBase64- Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorModel.SqsProperty>- Returns:
- a new instance of
CfnDetectorModel.SqsProperty - Throws:
NullPointerException- if any required attribute was not provided
-