@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LocalPortDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the port for the local connection.
Constructor and Description |
---|
LocalPortDetails() |
Modifier and Type | Method and Description |
---|---|
LocalPortDetails |
clone() |
boolean |
equals(Object obj) |
Integer |
getPort()
The port number of the local connection.
|
String |
getPortName()
The port name of the local connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPort(Integer port)
The port number of the local connection.
|
void |
setPortName(String portName)
The port name of the local connection.
|
String |
toString()
Returns a string representation of this object.
|
LocalPortDetails |
withPort(Integer port)
The port number of the local connection.
|
LocalPortDetails |
withPortName(String portName)
The port name of the local connection.
|
public void setPort(Integer port)
The port number of the local connection.
port
- The port number of the local connection.public Integer getPort()
The port number of the local connection.
public LocalPortDetails withPort(Integer port)
The port number of the local connection.
port
- The port number of the local connection.public void setPortName(String portName)
The port name of the local connection.
portName
- The port name of the local connection.public String getPortName()
The port name of the local connection.
public LocalPortDetails withPortName(String portName)
The port name of the local connection.
portName
- The port name of the local connection.public String toString()
toString
in class Object
Object.toString()
public LocalPortDetails 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.