@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 requested connection definition.
|
int |
hashCode() |
void |
setConnection(Connection connection)
The requested connection definition.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetConnectionResult |
withConnection(Connection connection)
The requested connection definition.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setConnection(Connection connection)
The requested connection definition.
connection
- The requested connection definition.public Connection getConnection()
The requested connection definition.
public GetConnectionResult withConnection(Connection connection)
The requested connection definition.
connection
- The requested connection definition.public String toString()
toString
in class Object
Object.toString()
public GetConnectionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.