CopyableBuilder<GetInstancesResponse.Builder,GetInstancesResponse>
, SdkBuilder<GetInstancesResponse.Builder,GetInstancesResponse>
public static interface GetInstancesResponse.Builder extends CopyableBuilder<GetInstancesResponse.Builder,GetInstancesResponse>
Modifier and Type | Method | Description |
---|---|---|
GetInstancesResponse.Builder |
instances(Collection<Instance> instances) |
An array of key-value pairs containing information about your instances.
|
GetInstancesResponse.Builder |
instances(Instance... instances) |
An array of key-value pairs containing information about your instances.
|
GetInstancesResponse.Builder |
nextPageToken(String nextPageToken) |
A token used for advancing to the next page of results from your get instances request.
|
copy
apply, build
GetInstancesResponse.Builder instances(Collection<Instance> instances)
An array of key-value pairs containing information about your instances.
instances
- An array of key-value pairs containing information about your instances.GetInstancesResponse.Builder instances(Instance... instances)
An array of key-value pairs containing information about your instances.
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
- An array of key-value pairs containing information about your instances.GetInstancesResponse.Builder nextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your get instances request.
nextPageToken
- A token used for advancing to the next page of results from your get instances request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.