public static interface DescribeHostsResponse.Builder extends Ec2Response.Builder, CopyableBuilder<DescribeHostsResponse.Builder,DescribeHostsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeHostsResponse.Builder |
hosts(Collection<Host> hosts)
Information about the Dedicated Hosts.
|
DescribeHostsResponse.Builder |
hosts(Consumer<Host.Builder>... hosts)
Information about the Dedicated Hosts.
|
DescribeHostsResponse.Builder |
hosts(Host... hosts)
Information about the Dedicated Hosts.
|
DescribeHostsResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeHostsResponse.Builder hosts(Collection<Host> hosts)
Information about the Dedicated Hosts.
hosts
- Information about the Dedicated Hosts.DescribeHostsResponse.Builder hosts(Host... hosts)
Information about the Dedicated Hosts.
hosts
- Information about the Dedicated Hosts.DescribeHostsResponse.Builder hosts(Consumer<Host.Builder>... hosts)
Information about the Dedicated Hosts.
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)
DescribeHostsResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are
no more results to return.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.