@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts extends Object implements Serializable, Cloneable, StructuredPojo
A port range to specify the destination ports to inspect for.
Constructor and Description |
---|
RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts() |
Modifier and Type | Method and Description |
---|---|
RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts |
clone() |
boolean |
equals(Object obj) |
Integer |
getFromPort()
The starting port value for the port range.
|
Integer |
getToPort()
The ending port value for the port range.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFromPort(Integer fromPort)
The starting port value for the port range.
|
void |
setToPort(Integer toPort)
The ending port value for the port range.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts |
withFromPort(Integer fromPort)
The starting port value for the port range.
|
RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts |
withToPort(Integer toPort)
The ending port value for the port range.
|
public RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts()
public void setFromPort(Integer fromPort)
The starting port value for the port range.
fromPort
- The starting port value for the port range.public Integer getFromPort()
The starting port value for the port range.
public RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts withFromPort(Integer fromPort)
The starting port value for the port range.
fromPort
- The starting port value for the port range.public void setToPort(Integer toPort)
The ending port value for the port range.
toPort
- The ending port value for the port range.public Integer getToPort()
The ending port value for the port range.
public RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts withToPort(Integer toPort)
The ending port value for the port range.
toPort
- The ending port value for the port range.public String toString()
toString
in class Object
Object.toString()
public RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.