Interface AlarmAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AlarmAction.Builder,
,AlarmAction> SdkBuilder<AlarmAction.Builder,
,AlarmAction> SdkPojo
- Enclosing class:
AlarmAction
-
Method Summary
Modifier and TypeMethodDescriptiondefault AlarmAction.Builder
dynamoDB
(Consumer<DynamoDBAction.Builder> dynamoDB) Sets the value of the DynamoDB property for this object.dynamoDB
(DynamoDBAction dynamoDB) Sets the value of the DynamoDB property for this object.default AlarmAction.Builder
dynamoDBv2
(Consumer<DynamoDBv2Action.Builder> dynamoDBv2) Sets the value of the DynamoDBv2 property for this object.dynamoDBv2
(DynamoDBv2Action dynamoDBv2) Sets the value of the DynamoDBv2 property for this object.default AlarmAction.Builder
firehose
(Consumer<FirehoseAction.Builder> firehose) Sets the value of the Firehose property for this object.firehose
(FirehoseAction firehose) Sets the value of the Firehose property for this object.default AlarmAction.Builder
iotEvents
(Consumer<IotEventsAction.Builder> iotEvents) Sets the value of the IotEvents property for this object.iotEvents
(IotEventsAction iotEvents) Sets the value of the IotEvents property for this object.default AlarmAction.Builder
iotSiteWise
(Consumer<IotSiteWiseAction.Builder> iotSiteWise) Sets the value of the IotSiteWise property for this object.iotSiteWise
(IotSiteWiseAction iotSiteWise) Sets the value of the IotSiteWise property for this object.default AlarmAction.Builder
iotTopicPublish
(Consumer<IotTopicPublishAction.Builder> iotTopicPublish) Sets the value of the IotTopicPublish property for this object.iotTopicPublish
(IotTopicPublishAction iotTopicPublish) Sets the value of the IotTopicPublish property for this object.default AlarmAction.Builder
lambda
(Consumer<LambdaAction.Builder> lambda) Sets the value of the Lambda property for this object.lambda
(LambdaAction lambda) Sets the value of the Lambda property for this object.default AlarmAction.Builder
Sets the value of the Sns property for this object.sns
(SNSTopicPublishAction sns) Sets the value of the Sns property for this object.default AlarmAction.Builder
sqs
(Consumer<SqsAction.Builder> sqs) Sets the value of the Sqs property for this object.Sets the value of the Sqs property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sns
Sets the value of the Sns property for this object.- Parameters:
sns
- The new value for the Sns property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sns
Sets the value of the Sns property for this object. This is a convenience method that creates an instance of theSNSTopicPublishAction.Builder
avoiding the need to create one manually viaSNSTopicPublishAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosns(SNSTopicPublishAction)
.- Parameters:
sns
- a consumer that will call methods onSNSTopicPublishAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iotTopicPublish
Sets the value of the IotTopicPublish property for this object.- Parameters:
iotTopicPublish
- The new value for the IotTopicPublish property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iotTopicPublish
default AlarmAction.Builder iotTopicPublish(Consumer<IotTopicPublishAction.Builder> iotTopicPublish) Sets the value of the IotTopicPublish property for this object. This is a convenience method that creates an instance of theIotTopicPublishAction.Builder
avoiding the need to create one manually viaIotTopicPublishAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiotTopicPublish(IotTopicPublishAction)
.- Parameters:
iotTopicPublish
- a consumer that will call methods onIotTopicPublishAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambda
Sets the value of the Lambda property for this object.- Parameters:
lambda
- The new value for the Lambda property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambda
Sets the value of the Lambda property for this object. This is a convenience method that creates an instance of theLambdaAction.Builder
avoiding the need to create one manually viaLambdaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambda(LambdaAction)
.- Parameters:
lambda
- a consumer that will call methods onLambdaAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iotEvents
Sets the value of the IotEvents property for this object.- Parameters:
iotEvents
- The new value for the IotEvents property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iotEvents
Sets the value of the IotEvents property for this object. This is a convenience method that creates an instance of theIotEventsAction.Builder
avoiding the need to create one manually viaIotEventsAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiotEvents(IotEventsAction)
.- Parameters:
iotEvents
- a consumer that will call methods onIotEventsAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sqs
Sets the value of the Sqs property for this object.- Parameters:
sqs
- The new value for the Sqs property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqs
Sets the value of the Sqs property for this object. This is a convenience method that creates an instance of theSqsAction.Builder
avoiding the need to create one manually viaSqsAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosqs(SqsAction)
.- Parameters:
sqs
- a consumer that will call methods onSqsAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
firehose
Sets the value of the Firehose property for this object.- Parameters:
firehose
- The new value for the Firehose property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firehose
Sets the value of the Firehose property for this object. This is a convenience method that creates an instance of theFirehoseAction.Builder
avoiding the need to create one manually viaFirehoseAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofirehose(FirehoseAction)
.- Parameters:
firehose
- a consumer that will call methods onFirehoseAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dynamoDB
Sets the value of the DynamoDB property for this object.- Parameters:
dynamoDB
- The new value for the DynamoDB property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dynamoDB
Sets the value of the DynamoDB property for this object. This is a convenience method that creates an instance of theDynamoDBAction.Builder
avoiding the need to create one manually viaDynamoDBAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todynamoDB(DynamoDBAction)
.- Parameters:
dynamoDB
- a consumer that will call methods onDynamoDBAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dynamoDBv2
Sets the value of the DynamoDBv2 property for this object.- Parameters:
dynamoDBv2
- The new value for the DynamoDBv2 property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dynamoDBv2
Sets the value of the DynamoDBv2 property for this object. This is a convenience method that creates an instance of theDynamoDBv2Action.Builder
avoiding the need to create one manually viaDynamoDBv2Action.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todynamoDBv2(DynamoDBv2Action)
.- Parameters:
dynamoDBv2
- a consumer that will call methods onDynamoDBv2Action.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iotSiteWise
Sets the value of the IotSiteWise property for this object.- Parameters:
iotSiteWise
- The new value for the IotSiteWise property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iotSiteWise
Sets the value of the IotSiteWise property for this object. This is a convenience method that creates an instance of theIotSiteWiseAction.Builder
avoiding the need to create one manually viaIotSiteWiseAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiotSiteWise(IotSiteWiseAction)
.- Parameters:
iotSiteWise
- a consumer that will call methods onIotSiteWiseAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-