@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PacketHeaderStatement extends Object implements Serializable, Cloneable
Describes a packet header statement.
| Constructor and Description |
|---|
PacketHeaderStatement() |
| Modifier and Type | Method and Description |
|---|---|
PacketHeaderStatement |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDestinationAddresses()
The destination addresses.
|
List<String> |
getDestinationPorts()
The destination ports.
|
List<String> |
getDestinationPrefixLists()
The destination prefix lists.
|
List<String> |
getProtocols()
The protocols.
|
List<String> |
getSourceAddresses()
The source addresses.
|
List<String> |
getSourcePorts()
The source ports.
|
List<String> |
getSourcePrefixLists()
The source prefix lists.
|
int |
hashCode() |
void |
setDestinationAddresses(Collection<String> destinationAddresses)
The destination addresses.
|
void |
setDestinationPorts(Collection<String> destinationPorts)
The destination ports.
|
void |
setDestinationPrefixLists(Collection<String> destinationPrefixLists)
The destination prefix lists.
|
void |
setProtocols(Collection<String> protocols)
The protocols.
|
void |
setSourceAddresses(Collection<String> sourceAddresses)
The source addresses.
|
void |
setSourcePorts(Collection<String> sourcePorts)
The source ports.
|
void |
setSourcePrefixLists(Collection<String> sourcePrefixLists)
The source prefix lists.
|
String |
toString()
Returns a string representation of this object.
|
PacketHeaderStatement |
withDestinationAddresses(Collection<String> destinationAddresses)
The destination addresses.
|
PacketHeaderStatement |
withDestinationAddresses(String... destinationAddresses)
The destination addresses.
|
PacketHeaderStatement |
withDestinationPorts(Collection<String> destinationPorts)
The destination ports.
|
PacketHeaderStatement |
withDestinationPorts(String... destinationPorts)
The destination ports.
|
PacketHeaderStatement |
withDestinationPrefixLists(Collection<String> destinationPrefixLists)
The destination prefix lists.
|
PacketHeaderStatement |
withDestinationPrefixLists(String... destinationPrefixLists)
The destination prefix lists.
|
PacketHeaderStatement |
withProtocols(Collection<String> protocols)
The protocols.
|
PacketHeaderStatement |
withProtocols(Protocol... protocols)
The protocols.
|
PacketHeaderStatement |
withProtocols(String... protocols)
The protocols.
|
PacketHeaderStatement |
withSourceAddresses(Collection<String> sourceAddresses)
The source addresses.
|
PacketHeaderStatement |
withSourceAddresses(String... sourceAddresses)
The source addresses.
|
PacketHeaderStatement |
withSourcePorts(Collection<String> sourcePorts)
The source ports.
|
PacketHeaderStatement |
withSourcePorts(String... sourcePorts)
The source ports.
|
PacketHeaderStatement |
withSourcePrefixLists(Collection<String> sourcePrefixLists)
The source prefix lists.
|
PacketHeaderStatement |
withSourcePrefixLists(String... sourcePrefixLists)
The source prefix lists.
|
public List<String> getSourceAddresses()
The source addresses.
public void setSourceAddresses(Collection<String> sourceAddresses)
The source addresses.
sourceAddresses - The source addresses.public PacketHeaderStatement withSourceAddresses(String... sourceAddresses)
The source addresses.
NOTE: This method appends the values to the existing list (if any). Use
setSourceAddresses(java.util.Collection) or withSourceAddresses(java.util.Collection) if you
want to override the existing values.
sourceAddresses - The source addresses.public PacketHeaderStatement withSourceAddresses(Collection<String> sourceAddresses)
The source addresses.
sourceAddresses - The source addresses.public List<String> getDestinationAddresses()
The destination addresses.
public void setDestinationAddresses(Collection<String> destinationAddresses)
The destination addresses.
destinationAddresses - The destination addresses.public PacketHeaderStatement withDestinationAddresses(String... destinationAddresses)
The destination addresses.
NOTE: This method appends the values to the existing list (if any). Use
setDestinationAddresses(java.util.Collection) or withDestinationAddresses(java.util.Collection)
if you want to override the existing values.
destinationAddresses - The destination addresses.public PacketHeaderStatement withDestinationAddresses(Collection<String> destinationAddresses)
The destination addresses.
destinationAddresses - The destination addresses.public void setSourcePorts(Collection<String> sourcePorts)
The source ports.
sourcePorts - The source ports.public PacketHeaderStatement withSourcePorts(String... sourcePorts)
The source ports.
NOTE: This method appends the values to the existing list (if any). Use
setSourcePorts(java.util.Collection) or withSourcePorts(java.util.Collection) if you want to
override the existing values.
sourcePorts - The source ports.public PacketHeaderStatement withSourcePorts(Collection<String> sourcePorts)
The source ports.
sourcePorts - The source ports.public List<String> getDestinationPorts()
The destination ports.
public void setDestinationPorts(Collection<String> destinationPorts)
The destination ports.
destinationPorts - The destination ports.public PacketHeaderStatement withDestinationPorts(String... destinationPorts)
The destination ports.
NOTE: This method appends the values to the existing list (if any). Use
setDestinationPorts(java.util.Collection) or withDestinationPorts(java.util.Collection) if you
want to override the existing values.
destinationPorts - The destination ports.public PacketHeaderStatement withDestinationPorts(Collection<String> destinationPorts)
The destination ports.
destinationPorts - The destination ports.public List<String> getSourcePrefixLists()
The source prefix lists.
public void setSourcePrefixLists(Collection<String> sourcePrefixLists)
The source prefix lists.
sourcePrefixLists - The source prefix lists.public PacketHeaderStatement withSourcePrefixLists(String... sourcePrefixLists)
The source prefix lists.
NOTE: This method appends the values to the existing list (if any). Use
setSourcePrefixLists(java.util.Collection) or withSourcePrefixLists(java.util.Collection) if
you want to override the existing values.
sourcePrefixLists - The source prefix lists.public PacketHeaderStatement withSourcePrefixLists(Collection<String> sourcePrefixLists)
The source prefix lists.
sourcePrefixLists - The source prefix lists.public List<String> getDestinationPrefixLists()
The destination prefix lists.
public void setDestinationPrefixLists(Collection<String> destinationPrefixLists)
The destination prefix lists.
destinationPrefixLists - The destination prefix lists.public PacketHeaderStatement withDestinationPrefixLists(String... destinationPrefixLists)
The destination prefix lists.
NOTE: This method appends the values to the existing list (if any). Use
setDestinationPrefixLists(java.util.Collection) or
withDestinationPrefixLists(java.util.Collection) if you want to override the existing values.
destinationPrefixLists - The destination prefix lists.public PacketHeaderStatement withDestinationPrefixLists(Collection<String> destinationPrefixLists)
The destination prefix lists.
destinationPrefixLists - The destination prefix lists.public List<String> getProtocols()
The protocols.
Protocolpublic void setProtocols(Collection<String> protocols)
The protocols.
protocols - The protocols.Protocolpublic PacketHeaderStatement withProtocols(String... protocols)
The protocols.
NOTE: This method appends the values to the existing list (if any). Use
setProtocols(java.util.Collection) or withProtocols(java.util.Collection) if you want to
override the existing values.
protocols - The protocols.Protocolpublic PacketHeaderStatement withProtocols(Collection<String> protocols)
The protocols.
protocols - The protocols.Protocolpublic PacketHeaderStatement withProtocols(Protocol... protocols)
The protocols.
protocols - The protocols.Protocolpublic String toString()
toString in class ObjectObject.toString()public PacketHeaderStatement clone()