public static interface DescribeHostsResponse.Builder extends Ec2Response.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeHostsResponse.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 method that creates an instance of theHost.Builder avoiding the need to create one manually via
Host.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #hosts(List.
hosts - a consumer that will call methods on Host.Builder#hosts(java.util.Collection) 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 © 2023. All rights reserved.