public static interface ListHostsResponse.Builder extends CodeStarConnectionsResponse.Builder, SdkPojo, CopyableBuilder<ListHostsResponse.Builder,ListHostsResponse>
Modifier and Type | Method and Description |
---|---|
ListHostsResponse.Builder |
hosts(Collection<Host> hosts)
A list of hosts and the details for each host, such as status, endpoint, and provider type.
|
ListHostsResponse.Builder |
hosts(Consumer<Host.Builder>... hosts)
A list of hosts and the details for each host, such as status, endpoint, and provider type.
|
ListHostsResponse.Builder |
hosts(Host... hosts)
A list of hosts and the details for each host, such as status, endpoint, and provider type.
|
ListHostsResponse.Builder |
nextToken(String nextToken)
A token that can be used in the next
ListHosts call. |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListHostsResponse.Builder hosts(Collection<Host> hosts)
A list of hosts and the details for each host, such as status, endpoint, and provider type.
hosts
- A list of hosts and the details for each host, such as status, endpoint, and provider type.ListHostsResponse.Builder hosts(Host... hosts)
A list of hosts and the details for each host, such as status, endpoint, and provider type.
hosts
- A list of hosts and the details for each host, such as status, endpoint, and provider type.ListHostsResponse.Builder hosts(Consumer<Host.Builder>... hosts)
A list of hosts and the details for each host, such as status, endpoint, and provider type.
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 #hosts(List)
.hosts
- a consumer that will call methods on List.Builder
#hosts(List)
ListHostsResponse.Builder nextToken(String nextToken)
A token that can be used in the next ListHosts
call. To view all items in the list, continue to
call this operation with each subsequent token until no more nextToken
values are returned.
nextToken
- A token that can be used in the next ListHosts
call. To view all items in the list,
continue to call this operation with each subsequent token until no more nextToken
values
are returned.