Class CfnAlarmModelPropsMixin.SqsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.iotevents.mixins.CfnAlarmModelPropsMixin.SqsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.SqsProperty>
- Enclosing interface:
CfnAlarmModelPropsMixin.SqsProperty
@Stability(Stable)
public static final class CfnAlarmModelPropsMixin.SqsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.SqsProperty>
A builder for
CfnAlarmModelPropsMixin.SqsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.payload(IResolvable payload) Sets the value ofCfnAlarmModelPropsMixin.SqsProperty.getPayload()Sets the value ofCfnAlarmModelPropsMixin.SqsProperty.getPayload()Sets the value ofCfnAlarmModelPropsMixin.SqsProperty.getQueueUrl()Sets the value ofCfnAlarmModelPropsMixin.SqsProperty.getUseBase64()useBase64(IResolvable useBase64) Sets the value ofCfnAlarmModelPropsMixin.SqsProperty.getUseBase64()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
payload
Sets the value ofCfnAlarmModelPropsMixin.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 CfnAlarmModelPropsMixin.SqsProperty.Builder payload(CfnAlarmModelPropsMixin.PayloadProperty payload) Sets the value ofCfnAlarmModelPropsMixin.SqsProperty.getPayload()- Parameters:
payload- You can configure the action payload when you send a message to an Amazon SQS queue.- Returns:
this
-
queueUrl
Sets the value ofCfnAlarmModelPropsMixin.SqsProperty.getQueueUrl()- Parameters:
queueUrl- The URL of the SQS queue where the data is written.- Returns:
this
-
useBase64
Sets the value ofCfnAlarmModelPropsMixin.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
@Stability(Stable) public CfnAlarmModelPropsMixin.SqsProperty.Builder useBase64(IResolvable useBase64) Sets the value ofCfnAlarmModelPropsMixin.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<CfnAlarmModelPropsMixin.SqsProperty>- Returns:
- a new instance of
CfnAlarmModelPropsMixin.SqsProperty - Throws:
NullPointerException- if any required attribute was not provided
-