public static interface DescribeInstancesResponse.Builder extends OpsWorksResponse.Builder, CopyableBuilder<DescribeInstancesResponse.Builder,DescribeInstancesResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeInstancesResponse.Builder |
instances(Collection<Instance> instances)
An array of
Instance objects that describe the instances. |
DescribeInstancesResponse.Builder |
instances(Consumer<Instance.Builder>... instances)
An array of
Instance objects that describe the instances. |
DescribeInstancesResponse.Builder |
instances(Instance... instances)
An array of
Instance objects that describe the instances. |
buildsdkHttpResponse, sdkHttpResponsecopyapply, 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.
instances - An array of Instance objects that describe the instances.DescribeInstancesResponse.Builder instances(Consumer<Instance.Builder>... instances)
An array of Instance objects that describe the instances.
List.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) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.