@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RangedSocketAddress extends Object implements Serializable, Cloneable, StructuredPojo
A socket address with a port range.
Constructor and Description |
---|
RangedSocketAddress() |
Modifier and Type | Method and Description |
---|---|
RangedSocketAddress |
clone() |
boolean |
equals(Object obj) |
String |
getName()
IPv4 socket address.
|
IntegerRange |
getPortRange()
Port range of a socket address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
IPv4 socket address.
|
void |
setPortRange(IntegerRange portRange)
Port range of a socket address.
|
String |
toString()
Returns a string representation of this object.
|
RangedSocketAddress |
withName(String name)
IPv4 socket address.
|
RangedSocketAddress |
withPortRange(IntegerRange portRange)
Port range of a socket address.
|
public void setName(String name)
IPv4 socket address.
name
- IPv4 socket address.public String getName()
IPv4 socket address.
public RangedSocketAddress withName(String name)
IPv4 socket address.
name
- IPv4 socket address.public void setPortRange(IntegerRange portRange)
Port range of a socket address.
portRange
- Port range of a socket address.public IntegerRange getPortRange()
Port range of a socket address.
public RangedSocketAddress withPortRange(IntegerRange portRange)
Port range of a socket address.
portRange
- Port range of a socket address.public String toString()
toString
in class Object
Object.toString()
public RangedSocketAddress clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.