
shiver.me.timbers.aws.iotevents.DetectorModelAction Maven / Gradle / Ivy
package shiver.me.timbers.aws.iotevents;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;
/**
* DetectorModelAction
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"IotEvents",
"Firehose",
"IotTopicPublish",
"DynamoDB",
"DynamoDBv2",
"IotSiteWise",
"ResetTimer",
"Sqs",
"Sns",
"SetTimer",
"ClearTimer",
"Lambda",
"SetVariable"
})
public class DetectorModelAction implements Property
{
/**
* DetectorModelIotEvents
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotevents.html
*
*/
@JsonProperty("IotEvents")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotevents.html")
private Property iotEvents;
/**
* DetectorModelFirehose
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-firehose.html
*
*/
@JsonProperty("Firehose")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-firehose.html")
private Property firehose;
/**
* DetectorModelIotTopicPublish
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iottopicpublish.html
*
*/
@JsonProperty("IotTopicPublish")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iottopicpublish.html")
private Property iotTopicPublish;
/**
* DetectorModelDynamoDB
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html
*
*/
@JsonProperty("DynamoDB")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html")
private Property dynamoDB;
/**
* DetectorModelDynamoDBv2
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodbv2.html
*
*/
@JsonProperty("DynamoDBv2")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodbv2.html")
private Property dynamoDBv2;
/**
* DetectorModelIotSiteWise
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotsitewise.html
*
*/
@JsonProperty("IotSiteWise")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotsitewise.html")
private Property iotSiteWise;
/**
* DetectorModelResetTimer
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-resettimer.html
*
*/
@JsonProperty("ResetTimer")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-resettimer.html")
private Property resetTimer;
/**
* DetectorModelSqs
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sqs.html
*
*/
@JsonProperty("Sqs")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sqs.html")
private Property sqs;
/**
* DetectorModelSns
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sns.html
*
*/
@JsonProperty("Sns")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sns.html")
private Property sns;
/**
* DetectorModelSetTimer
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-settimer.html
*
*/
@JsonProperty("SetTimer")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-settimer.html")
private Property setTimer;
/**
* DetectorModelClearTimer
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-cleartimer.html
*
*/
@JsonProperty("ClearTimer")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-cleartimer.html")
private Property clearTimer;
/**
* DetectorModelLambda
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-lambda.html
*
*/
@JsonProperty("Lambda")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-lambda.html")
private Property lambda;
/**
* DetectorModelSetVariable
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-setvariable.html
*
*/
@JsonProperty("SetVariable")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-setvariable.html")
private Property setVariable;
/**
* DetectorModelIotEvents
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotevents.html
*
*/
@JsonIgnore
public Property getIotEvents() {
return iotEvents;
}
/**
* DetectorModelIotEvents
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotevents.html
*
*/
@JsonIgnore
public void setIotEvents(Property iotEvents) {
this.iotEvents = iotEvents;
}
public DetectorModelAction withIotEvents(Property iotEvents) {
this.iotEvents = iotEvents;
return this;
}
/**
* DetectorModelFirehose
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-firehose.html
*
*/
@JsonIgnore
public Property getFirehose() {
return firehose;
}
/**
* DetectorModelFirehose
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-firehose.html
*
*/
@JsonIgnore
public void setFirehose(Property firehose) {
this.firehose = firehose;
}
public DetectorModelAction withFirehose(Property firehose) {
this.firehose = firehose;
return this;
}
/**
* DetectorModelIotTopicPublish
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iottopicpublish.html
*
*/
@JsonIgnore
public Property getIotTopicPublish() {
return iotTopicPublish;
}
/**
* DetectorModelIotTopicPublish
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iottopicpublish.html
*
*/
@JsonIgnore
public void setIotTopicPublish(Property iotTopicPublish) {
this.iotTopicPublish = iotTopicPublish;
}
public DetectorModelAction withIotTopicPublish(Property iotTopicPublish) {
this.iotTopicPublish = iotTopicPublish;
return this;
}
/**
* DetectorModelDynamoDB
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html
*
*/
@JsonIgnore
public Property getDynamoDB() {
return dynamoDB;
}
/**
* DetectorModelDynamoDB
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html
*
*/
@JsonIgnore
public void setDynamoDB(Property dynamoDB) {
this.dynamoDB = dynamoDB;
}
public DetectorModelAction withDynamoDB(Property dynamoDB) {
this.dynamoDB = dynamoDB;
return this;
}
/**
* DetectorModelDynamoDBv2
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodbv2.html
*
*/
@JsonIgnore
public Property getDynamoDBv2() {
return dynamoDBv2;
}
/**
* DetectorModelDynamoDBv2
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodbv2.html
*
*/
@JsonIgnore
public void setDynamoDBv2(Property dynamoDBv2) {
this.dynamoDBv2 = dynamoDBv2;
}
public DetectorModelAction withDynamoDBv2(Property dynamoDBv2) {
this.dynamoDBv2 = dynamoDBv2;
return this;
}
/**
* DetectorModelIotSiteWise
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotsitewise.html
*
*/
@JsonIgnore
public Property getIotSiteWise() {
return iotSiteWise;
}
/**
* DetectorModelIotSiteWise
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotsitewise.html
*
*/
@JsonIgnore
public void setIotSiteWise(Property iotSiteWise) {
this.iotSiteWise = iotSiteWise;
}
public DetectorModelAction withIotSiteWise(Property iotSiteWise) {
this.iotSiteWise = iotSiteWise;
return this;
}
/**
* DetectorModelResetTimer
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-resettimer.html
*
*/
@JsonIgnore
public Property getResetTimer() {
return resetTimer;
}
/**
* DetectorModelResetTimer
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-resettimer.html
*
*/
@JsonIgnore
public void setResetTimer(Property resetTimer) {
this.resetTimer = resetTimer;
}
public DetectorModelAction withResetTimer(Property resetTimer) {
this.resetTimer = resetTimer;
return this;
}
/**
* DetectorModelSqs
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sqs.html
*
*/
@JsonIgnore
public Property getSqs() {
return sqs;
}
/**
* DetectorModelSqs
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sqs.html
*
*/
@JsonIgnore
public void setSqs(Property sqs) {
this.sqs = sqs;
}
public DetectorModelAction withSqs(Property sqs) {
this.sqs = sqs;
return this;
}
/**
* DetectorModelSns
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sns.html
*
*/
@JsonIgnore
public Property getSns() {
return sns;
}
/**
* DetectorModelSns
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sns.html
*
*/
@JsonIgnore
public void setSns(Property sns) {
this.sns = sns;
}
public DetectorModelAction withSns(Property sns) {
this.sns = sns;
return this;
}
/**
* DetectorModelSetTimer
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-settimer.html
*
*/
@JsonIgnore
public Property getSetTimer() {
return setTimer;
}
/**
* DetectorModelSetTimer
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-settimer.html
*
*/
@JsonIgnore
public void setSetTimer(Property setTimer) {
this.setTimer = setTimer;
}
public DetectorModelAction withSetTimer(Property setTimer) {
this.setTimer = setTimer;
return this;
}
/**
* DetectorModelClearTimer
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-cleartimer.html
*
*/
@JsonIgnore
public Property getClearTimer() {
return clearTimer;
}
/**
* DetectorModelClearTimer
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-cleartimer.html
*
*/
@JsonIgnore
public void setClearTimer(Property clearTimer) {
this.clearTimer = clearTimer;
}
public DetectorModelAction withClearTimer(Property clearTimer) {
this.clearTimer = clearTimer;
return this;
}
/**
* DetectorModelLambda
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-lambda.html
*
*/
@JsonIgnore
public Property getLambda() {
return lambda;
}
/**
* DetectorModelLambda
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-lambda.html
*
*/
@JsonIgnore
public void setLambda(Property lambda) {
this.lambda = lambda;
}
public DetectorModelAction withLambda(Property lambda) {
this.lambda = lambda;
return this;
}
/**
* DetectorModelSetVariable
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-setvariable.html
*
*/
@JsonIgnore
public Property getSetVariable() {
return setVariable;
}
/**
* DetectorModelSetVariable
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-setvariable.html
*
*/
@JsonIgnore
public void setSetVariable(Property setVariable) {
this.setVariable = setVariable;
}
public DetectorModelAction withSetVariable(Property setVariable) {
this.setVariable = setVariable;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("iotEvents", iotEvents).append("firehose", firehose).append("iotTopicPublish", iotTopicPublish).append("dynamoDB", dynamoDB).append("dynamoDBv2", dynamoDBv2).append("iotSiteWise", iotSiteWise).append("resetTimer", resetTimer).append("sqs", sqs).append("sns", sns).append("setTimer", setTimer).append("clearTimer", clearTimer).append("lambda", lambda).append("setVariable", setVariable).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(firehose).append(resetTimer).append(dynamoDBv2).append(setVariable).append(clearTimer).append(dynamoDB).append(lambda).append(iotEvents).append(sqs).append(sns).append(iotTopicPublish).append(iotSiteWise).append(setTimer).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof DetectorModelAction) == false) {
return false;
}
DetectorModelAction rhs = ((DetectorModelAction) other);
return new EqualsBuilder().append(firehose, rhs.firehose).append(resetTimer, rhs.resetTimer).append(dynamoDBv2, rhs.dynamoDBv2).append(setVariable, rhs.setVariable).append(clearTimer, rhs.clearTimer).append(dynamoDB, rhs.dynamoDB).append(lambda, rhs.lambda).append(iotEvents, rhs.iotEvents).append(sqs, rhs.sqs).append(sns, rhs.sns).append(iotTopicPublish, rhs.iotTopicPublish).append(iotSiteWise, rhs.iotSiteWise).append(setTimer, rhs.setTimer).isEquals();
}
}