@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PortRangeFilter extends Object implements Serializable, Cloneable, StructuredPojo
An object that describes the details of a port range filter.
| Constructor and Description |
|---|
PortRangeFilter() |
| Modifier and Type | Method and Description |
|---|---|
PortRangeFilter |
clone() |
boolean |
equals(Object obj) |
Integer |
getBeginInclusive()
The port number the port range begins at.
|
Integer |
getEndInclusive()
The port number the port range ends at.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBeginInclusive(Integer beginInclusive)
The port number the port range begins at.
|
void |
setEndInclusive(Integer endInclusive)
The port number the port range ends at.
|
String |
toString()
Returns a string representation of this object.
|
PortRangeFilter |
withBeginInclusive(Integer beginInclusive)
The port number the port range begins at.
|
PortRangeFilter |
withEndInclusive(Integer endInclusive)
The port number the port range ends at.
|
public void setBeginInclusive(Integer beginInclusive)
The port number the port range begins at.
beginInclusive - The port number the port range begins at.public Integer getBeginInclusive()
The port number the port range begins at.
public PortRangeFilter withBeginInclusive(Integer beginInclusive)
The port number the port range begins at.
beginInclusive - The port number the port range begins at.public void setEndInclusive(Integer endInclusive)
The port number the port range ends at.
endInclusive - The port number the port range ends at.public Integer getEndInclusive()
The port number the port range ends at.
public PortRangeFilter withEndInclusive(Integer endInclusive)
The port number the port range ends at.
endInclusive - The port number the port range ends at.public String toString()
toString in class ObjectObject.toString()public PortRangeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.