public class ConfirmConnectionResult extends Object implements Serializable
The response received when ConfirmConnection is called.
| Constructor and Description |
|---|
ConfirmConnectionResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getConnectionState()
State of the connection.
|
int |
hashCode() |
void |
setConnectionState(ConnectionState connectionState)
State of the connection.
|
void |
setConnectionState(String connectionState)
State of the connection.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfirmConnectionResult |
withConnectionState(ConnectionState connectionState)
State of the connection.
|
ConfirmConnectionResult |
withConnectionState(String connectionState)
State of the connection.
|
public String getConnectionState()
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
ConnectionStatepublic void setConnectionState(String connectionState)
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState - State of the connection. ConnectionStatepublic ConfirmConnectionResult withConnectionState(String connectionState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState - State of the connection. ConnectionStatepublic void setConnectionState(ConnectionState connectionState)
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState - State of the connection. ConnectionStatepublic ConfirmConnectionResult withConnectionState(ConnectionState connectionState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState - State of the connection. ConnectionStatepublic String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.