@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListConnectionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListConnectionsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListConnectionsResult |
clone() |
boolean |
equals(Object obj) |
List<Connection> |
getConnections()
An array of connections objects that include details about the connections.
|
String |
getNextToken()
A token you can use in a subsequent request to retrieve the next set of results.
|
int |
hashCode() |
void |
setConnections(Collection<Connection> connections)
An array of connections objects that include details about the connections.
|
void |
setNextToken(String nextToken)
A token you can use in a subsequent request to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListConnectionsResult |
withConnections(Collection<Connection> connections)
An array of connections objects that include details about the connections.
|
ListConnectionsResult |
withConnections(Connection... connections)
An array of connections objects that include details about the connections.
|
ListConnectionsResult |
withNextToken(String nextToken)
A token you can use in a subsequent request to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Connection> getConnections()
An array of connections objects that include details about the connections.
public void setConnections(Collection<Connection> connections)
An array of connections objects that include details about the connections.
connections - An array of connections objects that include details about the connections.public ListConnectionsResult withConnections(Connection... connections)
An array of connections objects that include details about the connections.
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 - An array of connections objects that include details about the connections.public ListConnectionsResult withConnections(Collection<Connection> connections)
An array of connections objects that include details about the connections.
connections - An array of connections objects that include details about the connections.public void setNextToken(String nextToken)
A token you can use in a subsequent request to retrieve the next set of results.
nextToken - A token you can use in a subsequent request to retrieve the next set of results.public String getNextToken()
A token you can use in a subsequent request to retrieve the next set of results.
public ListConnectionsResult withNextToken(String nextToken)
A token you can use in a subsequent request to retrieve the next set of results.
nextToken - A token you can use in a subsequent request to retrieve the next set of results.public String toString()
toString in class ObjectObject.toString()public ListConnectionsResult clone()