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

shiver.me.timbers.aws.iot.TopicRuleElasticsearchAction Maven / Gradle / Ivy


package shiver.me.timbers.aws.iot;

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;


/**
 * TopicRuleElasticsearchAction
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Endpoint", "Id", "Index", "RoleArn", "Type" }) public class TopicRuleElasticsearchAction implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-endpoint * */ @JsonProperty("Endpoint") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-endpoint") private CharSequence endpoint; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-id * */ @JsonProperty("Id") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-id") private CharSequence id; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-index * */ @JsonProperty("Index") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-index") private CharSequence index; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-rolearn * */ @JsonProperty("RoleArn") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-rolearn") private CharSequence roleArn; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-type * */ @JsonProperty("Type") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-type") private CharSequence type; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-endpoint * */ @JsonIgnore public CharSequence getEndpoint() { return endpoint; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-endpoint * */ @JsonIgnore public void setEndpoint(CharSequence endpoint) { this.endpoint = endpoint; } public TopicRuleElasticsearchAction withEndpoint(CharSequence endpoint) { this.endpoint = endpoint; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-id * */ @JsonIgnore public CharSequence getId() { return id; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-id * */ @JsonIgnore public void setId(CharSequence id) { this.id = id; } public TopicRuleElasticsearchAction withId(CharSequence id) { this.id = id; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-index * */ @JsonIgnore public CharSequence getIndex() { return index; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-index * */ @JsonIgnore public void setIndex(CharSequence index) { this.index = index; } public TopicRuleElasticsearchAction withIndex(CharSequence index) { this.index = index; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-rolearn * */ @JsonIgnore public CharSequence getRoleArn() { return roleArn; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-rolearn * */ @JsonIgnore public void setRoleArn(CharSequence roleArn) { this.roleArn = roleArn; } public TopicRuleElasticsearchAction withRoleArn(CharSequence roleArn) { this.roleArn = roleArn; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-type * */ @JsonIgnore public CharSequence getType() { return type; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-type * */ @JsonIgnore public void setType(CharSequence type) { this.type = type; } public TopicRuleElasticsearchAction withType(CharSequence type) { this.type = type; return this; } @Override public String toString() { return new ToStringBuilder(this).append("endpoint", endpoint).append("id", id).append("index", index).append("roleArn", roleArn).append("type", type).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(index).append(endpoint).append(id).append(type).append(roleArn).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof TopicRuleElasticsearchAction) == false) { return false; } TopicRuleElasticsearchAction rhs = ((TopicRuleElasticsearchAction) other); return new EqualsBuilder().append(index, rhs.index).append(endpoint, rhs.endpoint).append(id, rhs.id).append(type, rhs.type).append(roleArn, rhs.roleArn).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy