public static interface DescribeInstancesResponse.Builder extends OpsWorksResponse.Builder, SdkPojo, 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. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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.
Instance.Builder avoiding the need to create one
manually via Instance.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #instances(List.
instances - a consumer that will call methods on
Instance.Builder#instances(java.util.Collection) Copyright © 2023. All rights reserved.