Interface DescribeElasticLoadBalancersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeElasticLoadBalancersResponse.Builder,
,DescribeElasticLoadBalancersResponse> OpsWorksResponse.Builder
,SdkBuilder<DescribeElasticLoadBalancersResponse.Builder,
,DescribeElasticLoadBalancersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeElasticLoadBalancersResponse
public static interface DescribeElasticLoadBalancersResponse.Builder
extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeElasticLoadBalancersResponse.Builder,DescribeElasticLoadBalancersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionelasticLoadBalancers
(Collection<ElasticLoadBalancer> elasticLoadBalancers) A list ofElasticLoadBalancer
objects that describe the specified Elastic Load Balancing instances.elasticLoadBalancers
(Consumer<ElasticLoadBalancer.Builder>... elasticLoadBalancers) A list ofElasticLoadBalancer
objects that describe the specified Elastic Load Balancing instances.elasticLoadBalancers
(ElasticLoadBalancer... elasticLoadBalancers) A list ofElasticLoadBalancer
objects that describe the specified Elastic Load Balancing instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
elasticLoadBalancers
DescribeElasticLoadBalancersResponse.Builder elasticLoadBalancers(Collection<ElasticLoadBalancer> elasticLoadBalancers) A list of
ElasticLoadBalancer
objects that describe the specified Elastic Load Balancing instances.- Parameters:
elasticLoadBalancers
- A list ofElasticLoadBalancer
objects that describe the specified Elastic Load Balancing instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticLoadBalancers
DescribeElasticLoadBalancersResponse.Builder elasticLoadBalancers(ElasticLoadBalancer... elasticLoadBalancers) A list of
ElasticLoadBalancer
objects that describe the specified Elastic Load Balancing instances.- Parameters:
elasticLoadBalancers
- A list ofElasticLoadBalancer
objects that describe the specified Elastic Load Balancing instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticLoadBalancers
DescribeElasticLoadBalancersResponse.Builder elasticLoadBalancers(Consumer<ElasticLoadBalancer.Builder>... elasticLoadBalancers) A list of
This is a convenience method that creates an instance of theElasticLoadBalancer
objects that describe the specified Elastic Load Balancing instances.ElasticLoadBalancer.Builder
avoiding the need to create one manually viaElasticLoadBalancer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toelasticLoadBalancers(List<ElasticLoadBalancer>)
.- Parameters:
elasticLoadBalancers
- a consumer that will call methods onElasticLoadBalancer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-