@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) | 
| ConnectionDetails | getConnectionDetails()
 Information about the connection. | 
| String | getConnectionId()
 The ID of the connection. | 
| int | hashCode() | 
| void | setConnectionDetails(ConnectionDetails connectionDetails)
 Information about the connection. | 
| void | setConnectionId(String connectionId)
 The ID of the connection. | 
| String | toString()Returns a string representation of this object. | 
| GetConnectionResult | withConnectionDetails(ConnectionDetails connectionDetails)
 Information about the connection. | 
| GetConnectionResult | withConnectionId(String connectionId)
 The ID of the connection. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setConnectionId(String connectionId)
The ID of the connection.
connectionId - The ID of the connection.public String getConnectionId()
The ID of the connection.
public GetConnectionResult withConnectionId(String connectionId)
The ID of the connection.
connectionId - The ID of the connection.public void setConnectionDetails(ConnectionDetails connectionDetails)
Information about the connection.
connectionDetails - Information about the connection.public ConnectionDetails getConnectionDetails()
Information about the connection.
public GetConnectionResult withConnectionDetails(ConnectionDetails connectionDetails)
Information about the connection.
connectionDetails - Information about the connection.public String toString()
toString in class ObjectObject.toString()public GetConnectionResult clone()