@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeoMatchSetUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the type of update to perform to an GeoMatchSet with UpdateGeoMatchSet.
| Constructor and Description |
|---|
GeoMatchSetUpdate() |
| Modifier and Type | Method and Description |
|---|---|
GeoMatchSetUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
|
GeoMatchConstraint |
getGeoMatchConstraint()
The country from which web requests originate that you want AWS WAF to search for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(String action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
|
void |
setGeoMatchConstraint(GeoMatchConstraint geoMatchConstraint)
The country from which web requests originate that you want AWS WAF to search for.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GeoMatchSetUpdate |
withAction(ChangeAction action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
|
GeoMatchSetUpdate |
withAction(String action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
|
GeoMatchSetUpdate |
withGeoMatchConstraint(GeoMatchConstraint geoMatchConstraint)
The country from which web requests originate that you want AWS WAF to search for.
|
public void setAction(String action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
action - Specifies whether to insert or delete a country with UpdateGeoMatchSet.ChangeActionpublic String getAction()
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
ChangeActionpublic GeoMatchSetUpdate withAction(String action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
action - Specifies whether to insert or delete a country with UpdateGeoMatchSet.ChangeActionpublic GeoMatchSetUpdate withAction(ChangeAction action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
action - Specifies whether to insert or delete a country with UpdateGeoMatchSet.ChangeActionpublic void setGeoMatchConstraint(GeoMatchConstraint geoMatchConstraint)
The country from which web requests originate that you want AWS WAF to search for.
geoMatchConstraint - The country from which web requests originate that you want AWS WAF to search for.public GeoMatchConstraint getGeoMatchConstraint()
The country from which web requests originate that you want AWS WAF to search for.
public GeoMatchSetUpdate withGeoMatchConstraint(GeoMatchConstraint geoMatchConstraint)
The country from which web requests originate that you want AWS WAF to search for.
geoMatchConstraint - The country from which web requests originate that you want AWS WAF to search for.public String toString()
toString in class ObjectObject.toString()public GeoMatchSetUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.