@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPlayerConnectionStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPlayerConnectionStatusResult() |
Modifier and Type | Method and Description |
---|---|
GetPlayerConnectionStatusResult |
clone() |
boolean |
equals(Object obj) |
List<Connection> |
getConnections()
The list of connection ids, one for each connection in use by the player.
|
int |
hashCode() |
void |
setConnections(Collection<Connection> connections)
The list of connection ids, one for each connection in use by the player.
|
String |
toString()
Returns a string representation of this object.
|
GetPlayerConnectionStatusResult |
withConnections(Collection<Connection> connections)
The list of connection ids, one for each connection in use by the player.
|
GetPlayerConnectionStatusResult |
withConnections(Connection... connections)
The list of connection ids, one for each connection in use by the player.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Connection> getConnections()
The list of connection ids, one for each connection in use by the player.
public void setConnections(Collection<Connection> connections)
The list of connection ids, one for each connection in use by the player.
connections
- The list of connection ids, one for each connection in use by the player.public GetPlayerConnectionStatusResult withConnections(Connection... connections)
The list of connection ids, one for each connection in use by the player.
NOTE: This method appends the values to the existing list (if any). Use
setConnections(java.util.Collection)
or withConnections(java.util.Collection)
if you want to
override the existing values.
connections
- The list of connection ids, one for each connection in use by the player.public GetPlayerConnectionStatusResult withConnections(Collection<Connection> connections)
The list of connection ids, one for each connection in use by the player.
connections
- The list of connection ids, one for each connection in use by the player.public String toString()
toString
in class Object
Object.toString()
public GetPlayerConnectionStatusResult clone()