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