@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlarmAction extends Object implements Serializable, Cloneable, StructuredPojo
Specifies one of the following actions to receive notifications when the alarm state changes.
Constructor and Description |
---|
AlarmAction() |
public void setSns(SNSTopicPublishAction sns)
sns
- public SNSTopicPublishAction getSns()
public AlarmAction withSns(SNSTopicPublishAction sns)
sns
- public void setIotTopicPublish(IotTopicPublishAction iotTopicPublish)
iotTopicPublish
- public IotTopicPublishAction getIotTopicPublish()
public AlarmAction withIotTopicPublish(IotTopicPublishAction iotTopicPublish)
iotTopicPublish
- public void setLambda(LambdaAction lambda)
lambda
- public LambdaAction getLambda()
public AlarmAction withLambda(LambdaAction lambda)
lambda
- public void setIotEvents(IotEventsAction iotEvents)
iotEvents
- public IotEventsAction getIotEvents()
public AlarmAction withIotEvents(IotEventsAction iotEvents)
iotEvents
- public void setSqs(SqsAction sqs)
sqs
- public SqsAction getSqs()
public AlarmAction withSqs(SqsAction sqs)
sqs
- public void setFirehose(FirehoseAction firehose)
firehose
- public FirehoseAction getFirehose()
public AlarmAction withFirehose(FirehoseAction firehose)
firehose
- public void setDynamoDB(DynamoDBAction dynamoDB)
dynamoDB
- public DynamoDBAction getDynamoDB()
public AlarmAction withDynamoDB(DynamoDBAction dynamoDB)
dynamoDB
- public void setDynamoDBv2(DynamoDBv2Action dynamoDBv2)
dynamoDBv2
- public DynamoDBv2Action getDynamoDBv2()
public AlarmAction withDynamoDBv2(DynamoDBv2Action dynamoDBv2)
dynamoDBv2
- public void setIotSiteWise(IotSiteWiseAction iotSiteWise)
iotSiteWise
- public IotSiteWiseAction getIotSiteWise()
public AlarmAction withIotSiteWise(IotSiteWiseAction iotSiteWise)
iotSiteWise
- public String toString()
toString
in class Object
Object.toString()
public AlarmAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.