Class CfnAlarmModel.FirehoseProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnAlarmModel.FirehoseProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModel.FirehoseProperty>
- Enclosing interface:
CfnAlarmModel.FirehoseProperty
@Stability(Stable)
public static final class CfnAlarmModel.FirehoseProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModel.FirehoseProperty>
A builder for
CfnAlarmModel.FirehoseProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.deliveryStreamName
(String deliveryStreamName) Sets the value ofCfnAlarmModel.FirehoseProperty.getDeliveryStreamName()
payload
(IResolvable payload) Sets the value ofCfnAlarmModel.FirehoseProperty.getPayload()
payload
(CfnAlarmModel.PayloadProperty payload) Sets the value ofCfnAlarmModel.FirehoseProperty.getPayload()
Sets the value ofCfnAlarmModel.FirehoseProperty.getSeparator()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deliveryStreamName
@Stability(Stable) public CfnAlarmModel.FirehoseProperty.Builder deliveryStreamName(String deliveryStreamName) Sets the value ofCfnAlarmModel.FirehoseProperty.getDeliveryStreamName()
- Parameters:
deliveryStreamName
- The name of the Kinesis Data Firehose delivery stream where the data is written. This parameter is required.- Returns:
this
-
payload
Sets the value ofCfnAlarmModel.FirehoseProperty.getPayload()
- Parameters:
payload
- You can configure the action payload when you send a message to an Amazon Data Firehose delivery stream.- Returns:
this
-
payload
@Stability(Stable) public CfnAlarmModel.FirehoseProperty.Builder payload(CfnAlarmModel.PayloadProperty payload) Sets the value ofCfnAlarmModel.FirehoseProperty.getPayload()
- Parameters:
payload
- You can configure the action payload when you send a message to an Amazon Data Firehose delivery stream.- Returns:
this
-
separator
Sets the value ofCfnAlarmModel.FirehoseProperty.getSeparator()
- Parameters:
separator
- A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAlarmModel.FirehoseProperty>
- Returns:
- a new instance of
CfnAlarmModel.FirehoseProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-