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