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
ConnectionState
public void setConnectionState(String connectionState)
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState
- State of the connection. ConnectionState
public 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. ConnectionState
public void setConnectionState(ConnectionState connectionState)
Constraints:
Allowed Values: ordering, requested, pending, available, down, deleting, deleted, rejected
connectionState
- State of the connection. ConnectionState
public 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. ConnectionState
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.