All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shiver.me.timbers.aws.iotevents.DetectorModelPayload 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;


/**
 * DetectorModelPayload
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "ContentExpression", "Type" }) public class DetectorModelPayload implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html#cfn-iotevents-detectormodel-payload-contentexpression * */ @JsonProperty("ContentExpression") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html#cfn-iotevents-detectormodel-payload-contentexpression") private CharSequence contentExpression; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html#cfn-iotevents-detectormodel-payload-type * */ @JsonProperty("Type") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html#cfn-iotevents-detectormodel-payload-type") private CharSequence type; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html#cfn-iotevents-detectormodel-payload-contentexpression * */ @JsonIgnore public CharSequence getContentExpression() { return contentExpression; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html#cfn-iotevents-detectormodel-payload-contentexpression * */ @JsonIgnore public void setContentExpression(CharSequence contentExpression) { this.contentExpression = contentExpression; } public DetectorModelPayload withContentExpression(CharSequence contentExpression) { this.contentExpression = contentExpression; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html#cfn-iotevents-detectormodel-payload-type * */ @JsonIgnore public CharSequence getType() { return type; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html#cfn-iotevents-detectormodel-payload-type * */ @JsonIgnore public void setType(CharSequence type) { this.type = type; } public DetectorModelPayload withType(CharSequence type) { this.type = type; return this; } @Override public String toString() { return new ToStringBuilder(this).append("contentExpression", contentExpression).append("type", type).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(type).append(contentExpression).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof DetectorModelPayload) == false) { return false; } DetectorModelPayload rhs = ((DetectorModelPayload) other); return new EqualsBuilder().append(type, rhs.type).append(contentExpression, rhs.contentExpression).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy