@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptInboundConnectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result of an AcceptInboundConnection
operation. Contains details about the accepted inbound
connection.
Constructor and Description |
---|
AcceptInboundConnectionResult() |
Modifier and Type | Method and Description |
---|---|
AcceptInboundConnectionResult |
clone() |
boolean |
equals(Object obj) |
InboundConnection |
getConnection()
The
InboundConnection of the accepted inbound connection. |
int |
hashCode() |
void |
setConnection(InboundConnection connection)
The
InboundConnection of the accepted inbound connection. |
String |
toString()
Returns a string representation of this object.
|
AcceptInboundConnectionResult |
withConnection(InboundConnection connection)
The
InboundConnection of the accepted inbound connection. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setConnection(InboundConnection connection)
The InboundConnection
of the accepted inbound connection.
connection
- The InboundConnection
of the accepted inbound connection.public InboundConnection getConnection()
The InboundConnection
of the accepted inbound connection.
InboundConnection
of the accepted inbound connection.public AcceptInboundConnectionResult withConnection(InboundConnection connection)
The InboundConnection
of the accepted inbound connection.
connection
- The InboundConnection
of the accepted inbound connection.public String toString()
toString
in class Object
Object.toString()
public AcceptInboundConnectionResult clone()