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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeElasticLoadBalancersResponse.BuilderelasticLoadBalancers(Collection<ElasticLoadBalancer> elasticLoadBalancers)A list ofElasticLoadBalancerobjects that describe the specified Elastic Load Balancing instances.DescribeElasticLoadBalancersResponse.BuilderelasticLoadBalancers(Consumer<ElasticLoadBalancer.Builder>... elasticLoadBalancers)A list ofElasticLoadBalancerobjects that describe the specified Elastic Load Balancing instances.DescribeElasticLoadBalancersResponse.BuilderelasticLoadBalancers(ElasticLoadBalancer... elasticLoadBalancers)A list ofElasticLoadBalancerobjects 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 Detail
-
elasticLoadBalancers
DescribeElasticLoadBalancersResponse.Builder elasticLoadBalancers(Collection<ElasticLoadBalancer> elasticLoadBalancers)
A list of
ElasticLoadBalancerobjects that describe the specified Elastic Load Balancing instances.- Parameters:
elasticLoadBalancers- A list ofElasticLoadBalancerobjects 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
ElasticLoadBalancerobjects that describe the specified Elastic Load Balancing instances.- Parameters:
elasticLoadBalancers- A list ofElasticLoadBalancerobjects 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 theElasticLoadBalancerobjects that describe the specified Elastic Load Balancing instances.ElasticLoadBalancer.Builderavoiding the need to create one manually viaElasticLoadBalancer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#elasticLoadBalancers(List.) - 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:
#elasticLoadBalancers(java.util.Collection)
-
-