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

shiver.me.timbers.aws.appmesh.RouteHeaderMatchMethod Maven / Gradle / Ivy

Go to download

This library is a complete mapping of the AWS CloudFormation Resource Specification into Java objects. The objects have been generated directly from the specification so should be a direct one to one mapping.

The newest version!

package shiver.me.timbers.aws.appmesh;

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;


/**
 * RouteHeaderMatchMethod
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Suffix", "Regex", "Exact", "Prefix", "Range" }) public class RouteHeaderMatchMethod implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-suffix * */ @JsonProperty("Suffix") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-suffix") private CharSequence suffix; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-regex * */ @JsonProperty("Regex") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-regex") private CharSequence regex; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-exact * */ @JsonProperty("Exact") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-exact") private CharSequence exact; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-prefix * */ @JsonProperty("Prefix") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-prefix") private CharSequence prefix; /** * RouteMatchRange *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-matchrange.html * */ @JsonProperty("Range") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-matchrange.html") private Property range; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-suffix * */ @JsonIgnore public CharSequence getSuffix() { return suffix; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-suffix * */ @JsonIgnore public void setSuffix(CharSequence suffix) { this.suffix = suffix; } public RouteHeaderMatchMethod withSuffix(CharSequence suffix) { this.suffix = suffix; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-regex * */ @JsonIgnore public CharSequence getRegex() { return regex; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-regex * */ @JsonIgnore public void setRegex(CharSequence regex) { this.regex = regex; } public RouteHeaderMatchMethod withRegex(CharSequence regex) { this.regex = regex; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-exact * */ @JsonIgnore public CharSequence getExact() { return exact; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-exact * */ @JsonIgnore public void setExact(CharSequence exact) { this.exact = exact; } public RouteHeaderMatchMethod withExact(CharSequence exact) { this.exact = exact; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-prefix * */ @JsonIgnore public CharSequence getPrefix() { return prefix; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-prefix * */ @JsonIgnore public void setPrefix(CharSequence prefix) { this.prefix = prefix; } public RouteHeaderMatchMethod withPrefix(CharSequence prefix) { this.prefix = prefix; return this; } /** * RouteMatchRange *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-matchrange.html * */ @JsonIgnore public Property getRange() { return range; } /** * RouteMatchRange *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-matchrange.html * */ @JsonIgnore public void setRange(Property range) { this.range = range; } public RouteHeaderMatchMethod withRange(Property range) { this.range = range; return this; } @Override public String toString() { return new ToStringBuilder(this).append("suffix", suffix).append("regex", regex).append("exact", exact).append("prefix", prefix).append("range", range).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(exact).append(range).append(regex).append(suffix).append(prefix).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof RouteHeaderMatchMethod) == false) { return false; } RouteHeaderMatchMethod rhs = ((RouteHeaderMatchMethod) other); return new EqualsBuilder().append(exact, rhs.exact).append(range, rhs.range).append(regex, rhs.regex).append(suffix, rhs.suffix).append(prefix, rhs.prefix).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy