@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetConnectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetConnectionResult() |
Modifier and Type | Method and Description |
---|---|
GetConnectionResult |
clone() |
boolean |
equals(Object obj) |
Connection |
getConnection()
The connection details, such as status, owner, and provider type.
|
int |
hashCode() |
void |
setConnection(Connection connection)
The connection details, such as status, owner, and provider type.
|
String |
toString()
Returns a string representation of this object.
|
GetConnectionResult |
withConnection(Connection connection)
The connection details, such as status, owner, and provider type.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setConnection(Connection connection)
The connection details, such as status, owner, and provider type.
connection
- The connection details, such as status, owner, and provider type.public Connection getConnection()
The connection details, such as status, owner, and provider type.
public GetConnectionResult withConnection(Connection connection)
The connection details, such as status, owner, and provider type.
connection
- The connection details, such as status, owner, and provider type.public String toString()
toString
in class Object
Object.toString()
public GetConnectionResult clone()