@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<ConnectionSummary> |
getConnectionSummaryList()
A list of summary information records for connections.
|
String |
getNextToken()
The token that you can pass in a subsequent request to get the next result page.
|
int |
hashCode() |
void |
setConnectionSummaryList(Collection<ConnectionSummary> connectionSummaryList)
A list of summary information records for connections.
|
void |
setNextToken(String nextToken)
The token that you can pass in a subsequent request to get the next result page.
|
String |
toString()
Returns a string representation of this object.
|
ListConnectionsResult |
withConnectionSummaryList(Collection<ConnectionSummary> connectionSummaryList)
A list of summary information records for connections.
|
ListConnectionsResult |
withConnectionSummaryList(ConnectionSummary... connectionSummaryList)
A list of summary information records for connections.
|
ListConnectionsResult |
withNextToken(String nextToken)
The token that you can pass in a subsequent request to get the next result page.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ConnectionSummary> getConnectionSummaryList()
A list of summary information records for connections. In a paginated request, the request returns up to
MaxResults records for each call.
MaxResults records for each call.public void setConnectionSummaryList(Collection<ConnectionSummary> connectionSummaryList)
A list of summary information records for connections. In a paginated request, the request returns up to
MaxResults records for each call.
connectionSummaryList - A list of summary information records for connections. In a paginated request, the request returns up to
MaxResults records for each call.public ListConnectionsResult withConnectionSummaryList(ConnectionSummary... connectionSummaryList)
A list of summary information records for connections. In a paginated request, the request returns up to
MaxResults records for each call.
NOTE: This method appends the values to the existing list (if any). Use
setConnectionSummaryList(java.util.Collection) or
withConnectionSummaryList(java.util.Collection) if you want to override the existing values.
connectionSummaryList - A list of summary information records for connections. In a paginated request, the request returns up to
MaxResults records for each call.public ListConnectionsResult withConnectionSummaryList(Collection<ConnectionSummary> connectionSummaryList)
A list of summary information records for connections. In a paginated request, the request returns up to
MaxResults records for each call.
connectionSummaryList - A list of summary information records for connections. In a paginated request, the request returns up to
MaxResults records for each call.public void setNextToken(String nextToken)
The token that you can pass in a subsequent request to get the next result page. Returned in a paginated request.
nextToken - The token that you can pass in a subsequent request to get the next result page. Returned in a paginated
request.public String getNextToken()
The token that you can pass in a subsequent request to get the next result page. Returned in a paginated request.
public ListConnectionsResult withNextToken(String nextToken)
The token that you can pass in a subsequent request to get the next result page. Returned in a paginated request.
nextToken - The token that you can pass in a subsequent request to get the next result page. Returned in a paginated
request.public String toString()
toString in class ObjectObject.toString()public ListConnectionsResult clone()