CopyableBuilder<DescribeInstancesResponse.Builder,DescribeInstancesResponse>
, SdkBuilder<DescribeInstancesResponse.Builder,DescribeInstancesResponse>
public static interface DescribeInstancesResponse.Builder extends CopyableBuilder<DescribeInstancesResponse.Builder,DescribeInstancesResponse>
Modifier and Type | Method | Description |
---|---|---|
DescribeInstancesResponse.Builder |
instances(Collection<Instance> instances) |
Collection of objects containing properties for each instance returned.
|
DescribeInstancesResponse.Builder |
instances(Instance... instances) |
Collection of objects containing properties for each instance returned.
|
DescribeInstancesResponse.Builder |
nextToken(String nextToken) |
Token that indicates where to resume retrieving results on the next call to this action.
|
copy
apply, build
DescribeInstancesResponse.Builder instances(Collection<Instance> instances)
Collection of objects containing properties for each instance returned.
instances
- Collection of objects containing properties for each instance returned.DescribeInstancesResponse.Builder instances(Instance... instances)
Collection of objects containing properties for each instance returned.
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
- Collection of objects containing properties for each instance returned.DescribeInstancesResponse.Builder nextToken(String nextToken)
Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.
nextToken
- Token that indicates where to resume retrieving results on the next call to this action. If no token
is returned, these results represent the end of the list.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.