@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionRemotePortDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the remote port that was involved in an attempted network connection.
Constructor and Description |
---|
ActionRemotePortDetails() |
Modifier and Type | Method and Description |
---|---|
ActionRemotePortDetails |
clone() |
boolean |
equals(Object obj) |
Integer |
getPort()
The number of the port.
|
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 number of the port.
|
void |
setPortName(String portName)
The port name of the remote connection.
|
String |
toString()
Returns a string representation of this object.
|
ActionRemotePortDetails |
withPort(Integer port)
The number of the port.
|
ActionRemotePortDetails |
withPortName(String portName)
The port name of the remote connection.
|
public void setPort(Integer port)
The number of the port.
port
- The number of the port.public Integer getPort()
The number of the port.
public ActionRemotePortDetails withPort(Integer port)
The number of the port.
port
- The number of the port.public void setPortName(String portName)
The port name of the remote connection.
Length Constraints: 128.
portName
- The port name of the remote connection.
Length Constraints: 128.
public String getPortName()
The port name of the remote connection.
Length Constraints: 128.
Length Constraints: 128.
public ActionRemotePortDetails withPortName(String portName)
The port name of the remote connection.
Length Constraints: 128.
portName
- The port name of the remote connection.
Length Constraints: 128.
public String toString()
toString
in class Object
Object.toString()
public ActionRemotePortDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.