@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> |
getConnections()
Information about the connections.
|
String |
getNextToken()
The token to use for the next page of results.
|
int |
hashCode() |
void |
setConnections(Collection<Connection> connections)
Information about the connections.
|
void |
setNextToken(String nextToken)
The token to use for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
GetConnectionsResult |
withConnections(Collection<Connection> connections)
Information about the connections.
|
GetConnectionsResult |
withConnections(Connection... connections)
Information about the connections.
|
GetConnectionsResult |
withNextToken(String nextToken)
The token to use for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Connection> getConnections()
Information about the connections.
public void setConnections(Collection<Connection> connections)
Information about the connections.
connections
- Information about the connections.public GetConnectionsResult withConnections(Connection... connections)
Information 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
- Information about the connections.public GetConnectionsResult withConnections(Collection<Connection> connections)
Information about the connections.
connections
- Information about the connections.public void setNextToken(String nextToken)
The token to use for the next page of results.
nextToken
- The token to use for the next page of results.public String getNextToken()
The token to use for the next page of results.
public GetConnectionsResult withNextToken(String nextToken)
The token to use for the next page of results.
nextToken
- The token to use for the next page of results.public String toString()
toString
in class Object
Object.toString()
public GetConnectionsResult clone()