@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IPSetReferenceStatement extends Object implements Serializable, Cloneable, StructuredPojo
This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.
A rule statement used to detect web requests coming from particular IP addresses or address ranges. To use this, create an IPSet that specifies the addresses you want to detect, then use the ARN of that set in this statement. To create an IP set, see CreateIPSet.
Each IP set rule statement references an IP set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, AWS WAF automatically updates all rules that reference it.
Constructor and Description |
---|
IPSetReferenceStatement() |
Modifier and Type | Method and Description |
---|---|
IPSetReferenceStatement |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The Amazon Resource Name (ARN) of the IPSet that this statement references.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setARN(String aRN)
The Amazon Resource Name (ARN) of the IPSet that this statement references.
|
String |
toString()
Returns a string representation of this object.
|
IPSetReferenceStatement |
withARN(String aRN)
The Amazon Resource Name (ARN) of the IPSet that this statement references.
|
public void setARN(String aRN)
The Amazon Resource Name (ARN) of the IPSet that this statement references.
aRN
- The Amazon Resource Name (ARN) of the IPSet that this statement references.public String getARN()
The Amazon Resource Name (ARN) of the IPSet that this statement references.
public IPSetReferenceStatement withARN(String aRN)
The Amazon Resource Name (ARN) of the IPSet that this statement references.
aRN
- The Amazon Resource Name (ARN) of the IPSet that this statement references.public String toString()
toString
in class Object
Object.toString()
public IPSetReferenceStatement 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.