@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IPSetUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the type of update to perform to an IPSet with UpdateIPSet.
Constructor and Description |
---|
IPSetUpdate() |
Modifier and Type | Method and Description |
---|---|
IPSetUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
IPSetDescriptor |
getIPSetDescriptor()
The IP address type (
IPV4 or IPV6 ) and the IP address range (in CIDR notation) that web
requests originate from. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
void |
setAction(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
void |
setIPSetDescriptor(IPSetDescriptor iPSetDescriptor)
The IP address type (
IPV4 or IPV6 ) and the IP address range (in CIDR notation) that web
requests originate from. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IPSetUpdate |
withAction(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
IPSetUpdate |
withAction(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
IPSetUpdate |
withIPSetDescriptor(IPSetDescriptor iPSetDescriptor)
The IP address type (
IPV4 or IPV6 ) and the IP address range (in CIDR notation) that web
requests originate from. |
public void setAction(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
action
- Specifies whether to insert or delete an IP address with UpdateIPSet.ChangeAction
public String getAction()
Specifies whether to insert or delete an IP address with UpdateIPSet.
ChangeAction
public IPSetUpdate withAction(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
action
- Specifies whether to insert or delete an IP address with UpdateIPSet.ChangeAction
public void setAction(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
action
- Specifies whether to insert or delete an IP address with UpdateIPSet.ChangeAction
public IPSetUpdate withAction(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
action
- Specifies whether to insert or delete an IP address with UpdateIPSet.ChangeAction
public void setIPSetDescriptor(IPSetDescriptor iPSetDescriptor)
The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR notation) that web
requests originate from.
iPSetDescriptor
- The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR notation)
that web requests originate from.public IPSetDescriptor getIPSetDescriptor()
The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR notation) that web
requests originate from.
IPV4
or IPV6
) and the IP address range (in CIDR notation)
that web requests originate from.public IPSetUpdate withIPSetDescriptor(IPSetDescriptor iPSetDescriptor)
The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR notation) that web
requests originate from.
iPSetDescriptor
- The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR notation)
that web requests originate from.public String toString()
toString
in class Object
Object.toString()
public IPSetUpdate 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.