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

shiver.me.timbers.aws.wafregional.ByteMatchSetByteMatchTuple Maven / Gradle / Ivy


package shiver.me.timbers.aws.wafregional;

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;


/**
 * ByteMatchSetByteMatchTuple
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "TargetString", "TargetStringBase64", "PositionalConstraint", "TextTransformation", "FieldToMatch" }) public class ByteMatchSetByteMatchTuple implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstring * */ @JsonProperty("TargetString") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstring") private CharSequence targetString; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstringbase64 * */ @JsonProperty("TargetStringBase64") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstringbase64") private CharSequence targetStringBase64; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-positionalconstraint * */ @JsonProperty("PositionalConstraint") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-positionalconstraint") private CharSequence positionalConstraint; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-texttransformation * */ @JsonProperty("TextTransformation") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-texttransformation") private CharSequence textTransformation; /** * ByteMatchSetFieldToMatch *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html * */ @JsonProperty("FieldToMatch") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html") private Property fieldToMatch; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstring * */ @JsonIgnore public CharSequence getTargetString() { return targetString; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstring * */ @JsonIgnore public void setTargetString(CharSequence targetString) { this.targetString = targetString; } public ByteMatchSetByteMatchTuple withTargetString(CharSequence targetString) { this.targetString = targetString; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstringbase64 * */ @JsonIgnore public CharSequence getTargetStringBase64() { return targetStringBase64; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstringbase64 * */ @JsonIgnore public void setTargetStringBase64(CharSequence targetStringBase64) { this.targetStringBase64 = targetStringBase64; } public ByteMatchSetByteMatchTuple withTargetStringBase64(CharSequence targetStringBase64) { this.targetStringBase64 = targetStringBase64; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-positionalconstraint * */ @JsonIgnore public CharSequence getPositionalConstraint() { return positionalConstraint; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-positionalconstraint * */ @JsonIgnore public void setPositionalConstraint(CharSequence positionalConstraint) { this.positionalConstraint = positionalConstraint; } public ByteMatchSetByteMatchTuple withPositionalConstraint(CharSequence positionalConstraint) { this.positionalConstraint = positionalConstraint; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-texttransformation * */ @JsonIgnore public CharSequence getTextTransformation() { return textTransformation; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-texttransformation * */ @JsonIgnore public void setTextTransformation(CharSequence textTransformation) { this.textTransformation = textTransformation; } public ByteMatchSetByteMatchTuple withTextTransformation(CharSequence textTransformation) { this.textTransformation = textTransformation; return this; } /** * ByteMatchSetFieldToMatch *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html * */ @JsonIgnore public Property getFieldToMatch() { return fieldToMatch; } /** * ByteMatchSetFieldToMatch *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html * */ @JsonIgnore public void setFieldToMatch(Property fieldToMatch) { this.fieldToMatch = fieldToMatch; } public ByteMatchSetByteMatchTuple withFieldToMatch(Property fieldToMatch) { this.fieldToMatch = fieldToMatch; return this; } @Override public String toString() { return new ToStringBuilder(this).append("targetString", targetString).append("targetStringBase64", targetStringBase64).append("positionalConstraint", positionalConstraint).append("textTransformation", textTransformation).append("fieldToMatch", fieldToMatch).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(textTransformation).append(targetStringBase64).append(fieldToMatch).append(positionalConstraint).append(targetString).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ByteMatchSetByteMatchTuple) == false) { return false; } ByteMatchSetByteMatchTuple rhs = ((ByteMatchSetByteMatchTuple) other); return new EqualsBuilder().append(textTransformation, rhs.textTransformation).append(targetStringBase64, rhs.targetStringBase64).append(fieldToMatch, rhs.fieldToMatch).append(positionalConstraint, rhs.positionalConstraint).append(targetString, rhs.targetString).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy