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

shiver.me.timbers.aws.iotthingsgraph.FlowTemplate Maven / Gradle / Ivy


package shiver.me.timbers.aws.iotthingsgraph;

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;


/**
 * FlowTemplate
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "CompatibleNamespaceVersion", "Definition" }) public class FlowTemplate { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html#cfn-iotthingsgraph-flowtemplate-compatiblenamespaceversion * */ @JsonProperty("CompatibleNamespaceVersion") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html#cfn-iotthingsgraph-flowtemplate-compatiblenamespaceversion") private Number compatibleNamespaceVersion; /** * FlowTemplateDefinitionDocument *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotthingsgraph-flowtemplate-definitiondocument.html * */ @JsonProperty("Definition") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotthingsgraph-flowtemplate-definitiondocument.html") private Property definition; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html#cfn-iotthingsgraph-flowtemplate-compatiblenamespaceversion * */ @JsonIgnore public Number getCompatibleNamespaceVersion() { return compatibleNamespaceVersion; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html#cfn-iotthingsgraph-flowtemplate-compatiblenamespaceversion * */ @JsonIgnore public void setCompatibleNamespaceVersion(Number compatibleNamespaceVersion) { this.compatibleNamespaceVersion = compatibleNamespaceVersion; } public FlowTemplate withCompatibleNamespaceVersion(Number compatibleNamespaceVersion) { this.compatibleNamespaceVersion = compatibleNamespaceVersion; return this; } /** * FlowTemplateDefinitionDocument *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotthingsgraph-flowtemplate-definitiondocument.html * */ @JsonIgnore public Property getDefinition() { return definition; } /** * FlowTemplateDefinitionDocument *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotthingsgraph-flowtemplate-definitiondocument.html * */ @JsonIgnore public void setDefinition(Property definition) { this.definition = definition; } public FlowTemplate withDefinition(Property definition) { this.definition = definition; return this; } @Override public String toString() { return new ToStringBuilder(this).append("compatibleNamespaceVersion", compatibleNamespaceVersion).append("definition", definition).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(definition).append(compatibleNamespaceVersion).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof FlowTemplate) == false) { return false; } FlowTemplate rhs = ((FlowTemplate) other); return new EqualsBuilder().append(definition, rhs.definition).append(compatibleNamespaceVersion, rhs.compatibleNamespaceVersion).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy