@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, setSdkResponseMetadata
public 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'.ConnectionStatus
public String getStatus()
The status of the connection to the instance. For example, 'Connected' or 'Not Connected'.
ConnectionStatus
public 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'.ConnectionStatus
public 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'.ConnectionStatus
public String toString()
toString
in class Object
Object.toString()
public GetConnectionStatusResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.