CopyableBuilder<ListInstancesResponse.Builder,ListInstancesResponse>
, SdkBuilder<ListInstancesResponse.Builder,ListInstancesResponse>
public static interface ListInstancesResponse.Builder extends CopyableBuilder<ListInstancesResponse.Builder,ListInstancesResponse>
Modifier and Type | Method | Description |
---|---|---|
ListInstancesResponse.Builder |
instances(Collection<Instance> instances) |
The list of instances for the cluster and given filters.
|
ListInstancesResponse.Builder |
instances(Instance... instances) |
The list of instances for the cluster and given filters.
|
ListInstancesResponse.Builder |
marker(String marker) |
The pagination token that indicates the next set of results to retrieve.
|
copy
apply, build
ListInstancesResponse.Builder instances(Collection<Instance> instances)
The list of instances for the cluster and given filters.
instances
- The list of instances for the cluster and given filters.ListInstancesResponse.Builder instances(Instance... instances)
The list of instances for the cluster and given filters.
NOTE: This method appends the values to the existing list (if any). Use
#setInstances(java.util.Collection)
or #withInstances(java.util.Collection)
if you want to
override the existing values.
instances
- The list of instances for the cluster and given filters.ListInstancesResponse.Builder marker(String marker)
The pagination token that indicates the next set of results to retrieve.
marker
- The pagination token that indicates the next set of results to retrieve.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.