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