@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemotePortDetails extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
RemotePortDetails() |
| Modifier and Type | Method and Description |
|---|---|
RemotePortDetails |
clone() |
boolean |
equals(Object obj) |
Integer |
getPort()
Port number of the remote connection.
|
String |
getPortName()
Port name of the remote connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPort(Integer port)
Port number of the remote connection.
|
void |
setPortName(String portName)
Port name of the remote connection.
|
String |
toString()
Returns a string representation of this object.
|
RemotePortDetails |
withPort(Integer port)
Port number of the remote connection.
|
RemotePortDetails |
withPortName(String portName)
Port name of the remote connection.
|
public void setPort(Integer port)
port - Port number of the remote connection.public Integer getPort()
public RemotePortDetails withPort(Integer port)
port - Port number of the remote connection.public void setPortName(String portName)
portName - Port name of the remote connection.public String getPortName()
public RemotePortDetails withPortName(String portName)
portName - Port name of the remote connection.public String toString()
toString in class ObjectObject.toString()public RemotePortDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.