public static final class CfnAlarmModel.SqsProperty.Builder
extends java.lang.Object
CfnAlarmModel.SqsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAlarmModel.SqsProperty |
build()
Builds the configured instance.
|
CfnAlarmModel.SqsProperty.Builder |
payload(CfnAlarmModel.PayloadProperty payload)
Sets the value of
CfnAlarmModel.SqsProperty.getPayload() |
CfnAlarmModel.SqsProperty.Builder |
payload(IResolvable payload)
Sets the value of
CfnAlarmModel.SqsProperty.getPayload() |
CfnAlarmModel.SqsProperty.Builder |
queueUrl(java.lang.String queueUrl)
Sets the value of
CfnAlarmModel.SqsProperty.getQueueUrl() |
CfnAlarmModel.SqsProperty.Builder |
useBase64(java.lang.Boolean useBase64)
Sets the value of
CfnAlarmModel.SqsProperty.getUseBase64() |
CfnAlarmModel.SqsProperty.Builder |
useBase64(IResolvable useBase64)
Sets the value of
CfnAlarmModel.SqsProperty.getUseBase64() |
public CfnAlarmModel.SqsProperty.Builder queueUrl(java.lang.String queueUrl)
CfnAlarmModel.SqsProperty.getQueueUrl()
queueUrl
- The URL of the SQS queue where the data is written. This parameter is required.this
public CfnAlarmModel.SqsProperty.Builder payload(IResolvable payload)
CfnAlarmModel.SqsProperty.getPayload()
payload
- You can configure the action payload when you send a message to an Amazon SQS queue.this
public CfnAlarmModel.SqsProperty.Builder payload(CfnAlarmModel.PayloadProperty payload)
CfnAlarmModel.SqsProperty.getPayload()
payload
- You can configure the action payload when you send a message to an Amazon SQS queue.this
public CfnAlarmModel.SqsProperty.Builder useBase64(java.lang.Boolean useBase64)
CfnAlarmModel.SqsProperty.getUseBase64()
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.this
public CfnAlarmModel.SqsProperty.Builder useBase64(IResolvable useBase64)
CfnAlarmModel.SqsProperty.getUseBase64()
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.this
public CfnAlarmModel.SqsProperty build()
CfnAlarmModel.SqsProperty
java.lang.NullPointerException
- if any required attribute was not provided