CopyableBuilder<DescribeServersResponse.Builder,DescribeServersResponse>
, SdkBuilder<DescribeServersResponse.Builder,DescribeServersResponse>
public static interface DescribeServersResponse.Builder extends CopyableBuilder<DescribeServersResponse.Builder,DescribeServersResponse>
Modifier and Type | Method | Description |
---|---|---|
DescribeServersResponse.Builder |
nextToken(String nextToken) |
NextToken is a string that is returned in some command responses.
|
DescribeServersResponse.Builder |
servers(Collection<Server> servers) |
Contains the response to a
DescribeServers request. |
DescribeServersResponse.Builder |
servers(Server... servers) |
Contains the response to a
DescribeServers request. |
copy
apply, build
DescribeServersResponse.Builder servers(Collection<Server> servers)
Contains the response to a DescribeServers
request.
servers
- Contains the response to a DescribeServers
request.DescribeServersResponse.Builder servers(Server... servers)
Contains the response to a DescribeServers
request.
NOTE: This method appends the values to the existing list (if any). Use
#setServers(java.util.Collection)
or #withServers(java.util.Collection)
if you want to
override the existing values.
servers
- Contains the response to a DescribeServers
request.DescribeServersResponse.Builder nextToken(String nextToken)
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results,
call DescribeServers
again, and assign the token from the previous results as the value of the
nextToken
parameter. If there are no more results, the response object's nextToken
parameter value is null
. Setting a nextToken
value that was not returned in your
previous results causes an InvalidNextTokenException
to occur.
nextToken
- NextToken is a string that is returned in some command responses. It indicates that not all entries
have been returned, and that you must run at least one more request to get remaining items. To get
remaining results, call DescribeServers
again, and assign the token from the previous
results as the value of the nextToken
parameter. If there are no more results, the
response object's nextToken
parameter value is null
. Setting a
nextToken
value that was not returned in your previous results causes an
InvalidNextTokenException
to occur.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.