@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetConnectionStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetConnectionStatusResult() |
| Modifier and Type | Method and Description |
|---|---|
GetConnectionStatusResult |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The status of the connection to the instance.
|
String |
getTarget()
The ID of the instance to check connection status.
|
int |
hashCode() |
void |
setStatus(String status)
The status of the connection to the instance.
|
void |
setTarget(String target)
The ID of the instance to check connection status.
|
String |
toString()
Returns a string representation of this object.
|
GetConnectionStatusResult |
withStatus(ConnectionStatus status)
The status of the connection to the instance.
|
GetConnectionStatusResult |
withStatus(String status)
The status of the connection to the instance.
|
GetConnectionStatusResult |
withTarget(String target)
The ID of the instance to check connection status.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setTarget(String target)
The ID of the instance to check connection status.
target - The ID of the instance to check connection status.public String getTarget()
The ID of the instance to check connection status.
public GetConnectionStatusResult withTarget(String target)
The ID of the instance to check connection status.
target - The ID of the instance to check connection status.public void setStatus(String status)
The status of the connection to the instance. For example, 'Connected' or 'Not Connected'.
status - The status of the connection to the instance. For example, 'Connected' or 'Not Connected'.ConnectionStatuspublic String getStatus()
The status of the connection to the instance. For example, 'Connected' or 'Not Connected'.
ConnectionStatuspublic GetConnectionStatusResult withStatus(String status)
The status of the connection to the instance. For example, 'Connected' or 'Not Connected'.
status - The status of the connection to the instance. For example, 'Connected' or 'Not Connected'.ConnectionStatuspublic GetConnectionStatusResult withStatus(ConnectionStatus status)
The status of the connection to the instance. For example, 'Connected' or 'Not Connected'.
status - The status of the connection to the instance. For example, 'Connected' or 'Not Connected'.ConnectionStatuspublic String toString()
toString in class ObjectObject.toString()public GetConnectionStatusResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.