@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeoMatchConstraint extends Object implements Serializable, Cloneable, StructuredPojo
The country from which web requests originate that you want AWS WAF to search for.
Constructor and Description |
---|
GeoMatchConstraint() |
Modifier and Type | Method and Description |
---|---|
GeoMatchConstraint |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The type of geographical area you want AWS WAF to search for.
|
String |
getValue()
The country that you want AWS WAF to search for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
The type of geographical area you want AWS WAF to search for.
|
void |
setValue(String value)
The country that you want AWS WAF to search for.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GeoMatchConstraint |
withType(GeoMatchConstraintType type)
The type of geographical area you want AWS WAF to search for.
|
GeoMatchConstraint |
withType(String type)
The type of geographical area you want AWS WAF to search for.
|
GeoMatchConstraint |
withValue(GeoMatchConstraintValue value)
The country that you want AWS WAF to search for.
|
GeoMatchConstraint |
withValue(String value)
The country that you want AWS WAF to search for.
|
public void setType(String type)
The type of geographical area you want AWS WAF to search for. Currently Country
is the only valid
value.
type
- The type of geographical area you want AWS WAF to search for. Currently Country
is the only
valid value.GeoMatchConstraintType
public String getType()
The type of geographical area you want AWS WAF to search for. Currently Country
is the only valid
value.
Country
is the only
valid value.GeoMatchConstraintType
public GeoMatchConstraint withType(String type)
The type of geographical area you want AWS WAF to search for. Currently Country
is the only valid
value.
type
- The type of geographical area you want AWS WAF to search for. Currently Country
is the only
valid value.GeoMatchConstraintType
public GeoMatchConstraint withType(GeoMatchConstraintType type)
The type of geographical area you want AWS WAF to search for. Currently Country
is the only valid
value.
type
- The type of geographical area you want AWS WAF to search for. Currently Country
is the only
valid value.GeoMatchConstraintType
public void setValue(String value)
The country that you want AWS WAF to search for.
value
- The country that you want AWS WAF to search for.GeoMatchConstraintValue
public String getValue()
The country that you want AWS WAF to search for.
GeoMatchConstraintValue
public GeoMatchConstraint withValue(String value)
The country that you want AWS WAF to search for.
value
- The country that you want AWS WAF to search for.GeoMatchConstraintValue
public GeoMatchConstraint withValue(GeoMatchConstraintValue value)
The country that you want AWS WAF to search for.
value
- The country that you want AWS WAF to search for.GeoMatchConstraintValue
public String toString()
toString
in class Object
Object.toString()
public GeoMatchConstraint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.