public static interface ListServersResponse.Builder extends MigrationHubStrategyResponse.Builder, SdkPojo, CopyableBuilder<ListServersResponse.Builder,ListServersResponse>
| Modifier and Type | Method and Description |
|---|---|
ListServersResponse.Builder |
nextToken(String nextToken)
The token you use to retrieve the next set of results, or null if there are no more results.
|
ListServersResponse.Builder |
serverInfos(Collection<ServerDetail> serverInfos)
The list of servers with detailed information about each server.
|
ListServersResponse.Builder |
serverInfos(Consumer<ServerDetail.Builder>... serverInfos)
The list of servers with detailed information about each server.
|
ListServersResponse.Builder |
serverInfos(ServerDetail... serverInfos)
The list of servers with detailed information about each server.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListServersResponse.Builder nextToken(String nextToken)
The token you use to retrieve the next set of results, or null if there are no more results.
nextToken - The token you use to retrieve the next set of results, or null if there are no more results.ListServersResponse.Builder serverInfos(Collection<ServerDetail> serverInfos)
The list of servers with detailed information about each server.
serverInfos - The list of servers with detailed information about each server.ListServersResponse.Builder serverInfos(ServerDetail... serverInfos)
The list of servers with detailed information about each server.
serverInfos - The list of servers with detailed information about each server.ListServersResponse.Builder serverInfos(Consumer<ServerDetail.Builder>... serverInfos)
The list of servers with detailed information about each server.
This is a convenience method that creates an instance of theServerDetail.Builder avoiding the need to
create one manually via
ServerDetail.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #serverInfos(List.
serverInfos - a consumer that will call methods on
ServerDetail.Builder#serverInfos(java.util.Collection) Copyright © 2023. All rights reserved.