Class CfnAlarmModel.SqsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnAlarmModel.SqsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModel.SqsProperty>
- Enclosing interface:
CfnAlarmModel.SqsProperty
@Stability(Stable)
public static final class CfnAlarmModel.SqsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModel.SqsProperty>
A builder for
CfnAlarmModel.SqsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.payload(IResolvable payload) Sets the value ofCfnAlarmModel.SqsProperty.getPayload()payload(CfnAlarmModel.PayloadProperty payload) Sets the value ofCfnAlarmModel.SqsProperty.getPayload()Sets the value ofCfnAlarmModel.SqsProperty.getQueueUrl()Sets the value ofCfnAlarmModel.SqsProperty.getUseBase64()useBase64(IResolvable useBase64) Sets the value ofCfnAlarmModel.SqsProperty.getUseBase64()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
queueUrl
Sets the value ofCfnAlarmModel.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 ofCfnAlarmModel.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 CfnAlarmModel.SqsProperty.Builder payload(CfnAlarmModel.PayloadProperty payload) Sets the value ofCfnAlarmModel.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 ofCfnAlarmModel.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 ofCfnAlarmModel.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<CfnAlarmModel.SqsProperty>- Returns:
- a new instance of
CfnAlarmModel.SqsProperty - Throws:
NullPointerException- if any required attribute was not provided
-