public static interface ListInstancesResponse.Builder extends ServiceDiscoveryResponse.Builder, CopyableBuilder<ListInstancesResponse.Builder,ListInstancesResponse>
Modifier and Type | Method and Description |
---|---|
ListInstancesResponse.Builder |
instances(Collection<InstanceSummary> instances)
Summary information about the instances that are associated with the specified service.
|
ListInstancesResponse.Builder |
instances(Consumer<InstanceSummary.Builder>... instances)
Summary information about the instances that are associated with the specified service.
|
ListInstancesResponse.Builder |
instances(InstanceSummary... instances)
Summary information about the instances that are associated with the specified service.
|
ListInstancesResponse.Builder |
nextToken(String nextToken)
If more than
MaxResults instances match the specified criteria, you can submit another
ListInstances request to get the next group of results. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListInstancesResponse.Builder instances(Collection<InstanceSummary> instances)
Summary information about the instances that are associated with the specified service.
instances
- Summary information about the instances that are associated with the specified service.ListInstancesResponse.Builder instances(InstanceSummary... instances)
Summary information about the instances that are associated with the specified service.
instances
- Summary information about the instances that are associated with the specified service.ListInstancesResponse.Builder instances(Consumer<InstanceSummary.Builder>... instances)
Summary information about the instances that are associated with the specified service.
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 #instances(List)
.instances
- a consumer that will call methods on List.Builder
#instances(List)
ListInstancesResponse.Builder nextToken(String nextToken)
If more than MaxResults
instances match the specified criteria, you can submit another
ListInstances
request to get the next group of results. Specify the value of
NextToken
from the previous response in the next request.
nextToken
- If more than MaxResults
instances match the specified criteria, you can submit another
ListInstances
request to get the next group of results. Specify the value of
NextToken
from the previous response in the next request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.