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 ofElasticLoadBalancerobjects that describe the specified Elastic Load Balancing instances.elasticLoadBalancers(Consumer<ElasticLoadBalancer.Builder>... elasticLoadBalancers) A list ofElasticLoadBalancerobjects that describe the specified Elastic Load Balancing instances.elasticLoadBalancers(ElasticLoadBalancer... elasticLoadBalancers) A list ofElasticLoadBalancerobjects that describe the specified Elastic Load Balancing instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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 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:
-