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

shiver.me.timbers.aws.elasticbeanstalk.EnvironmentTier Maven / Gradle / Ivy


package shiver.me.timbers.aws.elasticbeanstalk;

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;


/**
 * EnvironmentTier
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Name", "Type", "Version" }) public class EnvironmentTier implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-name * */ @JsonProperty("Name") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-name") private CharSequence name; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-type * */ @JsonProperty("Type") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-type") private CharSequence type; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-version * */ @JsonProperty("Version") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-version") private CharSequence version; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-name * */ @JsonIgnore public CharSequence getName() { return name; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-name * */ @JsonIgnore public void setName(CharSequence name) { this.name = name; } public EnvironmentTier withName(CharSequence name) { this.name = name; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-type * */ @JsonIgnore public CharSequence getType() { return type; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-type * */ @JsonIgnore public void setType(CharSequence type) { this.type = type; } public EnvironmentTier withType(CharSequence type) { this.type = type; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-version * */ @JsonIgnore public CharSequence getVersion() { return version; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-version * */ @JsonIgnore public void setVersion(CharSequence version) { this.version = version; } public EnvironmentTier withVersion(CharSequence version) { this.version = version; return this; } @Override public String toString() { return new ToStringBuilder(this).append("name", name).append("type", type).append("version", version).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(name).append(type).append(version).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof EnvironmentTier) == false) { return false; } EnvironmentTier rhs = ((EnvironmentTier) other); return new EqualsBuilder().append(name, rhs.name).append(type, rhs.type).append(version, rhs.version).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy