@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetConnectionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetConnectionsResult() |
Modifier and Type | Method and Description |
---|---|
GetConnectionsResult |
clone() |
boolean |
equals(Object obj) |
List<Connection> |
getConnectionList()
A list of requested connection definitions.
|
String |
getNextToken()
A continuation token, if the list of connections returned does not include the last of the filtered connections.
|
int |
hashCode() |
void |
setConnectionList(Collection<Connection> connectionList)
A list of requested connection definitions.
|
void |
setNextToken(String nextToken)
A continuation token, if the list of connections returned does not include the last of the filtered connections.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetConnectionsResult |
withConnectionList(Collection<Connection> connectionList)
A list of requested connection definitions.
|
GetConnectionsResult |
withConnectionList(Connection... connectionList)
A list of requested connection definitions.
|
GetConnectionsResult |
withNextToken(String nextToken)
A continuation token, if the list of connections returned does not include the last of the filtered connections.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Connection> getConnectionList()
A list of requested connection definitions.
public void setConnectionList(Collection<Connection> connectionList)
A list of requested connection definitions.
connectionList
- A list of requested connection definitions.public GetConnectionsResult withConnectionList(Connection... connectionList)
A list of requested connection definitions.
NOTE: This method appends the values to the existing list (if any). Use
setConnectionList(java.util.Collection)
or withConnectionList(java.util.Collection)
if you want
to override the existing values.
connectionList
- A list of requested connection definitions.public GetConnectionsResult withConnectionList(Collection<Connection> connectionList)
A list of requested connection definitions.
connectionList
- A list of requested connection definitions.public void setNextToken(String nextToken)
A continuation token, if the list of connections returned does not include the last of the filtered connections.
nextToken
- A continuation token, if the list of connections returned does not include the last of the filtered
connections.public String getNextToken()
A continuation token, if the list of connections returned does not include the last of the filtered connections.
public GetConnectionsResult withNextToken(String nextToken)
A continuation token, if the list of connections returned does not include the last of the filtered connections.
nextToken
- A continuation token, if the list of connections returned does not include the last of the filtered
connections.public String toString()
toString
in class Object
Object.toString()
public GetConnectionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.