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