public static interface ListServersResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListServersResponse.Builder,ListServersResponse>
| Modifier and Type | Method and Description |
|---|---|
ListServersResponse.Builder |
nextToken(String nextToken)
When you can get additional results from the
ListServers operation, a NextToken
parameter is returned in the output. |
ListServersResponse.Builder |
servers(Collection<ListedServer> servers)
An array of servers that were listed.
|
ListServersResponse.Builder |
servers(Consumer<ListedServer.Builder>... servers)
An array of servers that were listed.
|
ListServersResponse.Builder |
servers(ListedServer... servers)
An array of servers that were listed.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildListServersResponse.Builder nextToken(String nextToken)
When you can get additional results from the ListServers operation, a NextToken
parameter is returned in the output. In a following command, you can pass in the NextToken
parameter to continue listing additional servers.
nextToken - When you can get additional results from the ListServers operation, a
NextToken parameter is returned in the output. In a following command, you can pass in
the NextToken parameter to continue listing additional servers.ListServersResponse.Builder servers(Collection<ListedServer> servers)
An array of servers that were listed.
servers - An array of servers that were listed.ListServersResponse.Builder servers(ListedServer... servers)
An array of servers that were listed.
servers - An array of servers that were listed.ListServersResponse.Builder servers(Consumer<ListedServer.Builder>... servers)
An array of servers that were listed.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #servers(List) .servers - a consumer that will call methods on List.Builder #servers(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.