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) |
An array of
Instance objects that describe the instances. |
DescribeInstancesResponse.Builder |
instances(Instance... instances) |
An array of
Instance objects that describe the instances. |
copyapply, buildDescribeInstancesResponse.Builder instances(Collection<Instance> instances)
An array of Instance objects that describe the instances.
instances - An array of Instance objects that describe the instances.DescribeInstancesResponse.Builder instances(Instance... instances)
An array of Instance objects that describe the 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 Instance objects that describe the instances.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.