@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.ChangeAction
public String getAction()
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
ChangeAction
public 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.ChangeAction
public 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.ChangeAction
public 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 Object
Object.toString()
public GeoMatchSetUpdate 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.