Interface DescribeLoadBalancersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeLoadBalancersResponse.Builder,,DescribeLoadBalancersResponse> ElasticLoadBalancingV2Response.Builder,SdkBuilder<DescribeLoadBalancersResponse.Builder,,DescribeLoadBalancersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeLoadBalancersResponse
public static interface DescribeLoadBalancersResponse.Builder
extends ElasticLoadBalancingV2Response.Builder, SdkPojo, CopyableBuilder<DescribeLoadBalancersResponse.Builder,DescribeLoadBalancersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionloadBalancers(Collection<LoadBalancer> loadBalancers) Information about the load balancers.loadBalancers(Consumer<LoadBalancer.Builder>... loadBalancers) Information about the load balancers.loadBalancers(LoadBalancer... loadBalancers) Information about the load balancers.nextMarker(String nextMarker) If there are additional results, this is the marker for the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Response.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
-
loadBalancers
Information about the load balancers.
- Parameters:
loadBalancers- Information about the load balancers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancers
Information about the load balancers.
- Parameters:
loadBalancers- Information about the load balancers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancers
DescribeLoadBalancersResponse.Builder loadBalancers(Consumer<LoadBalancer.Builder>... loadBalancers) Information about the load balancers.
This is a convenience method that creates an instance of theLoadBalancer.Builderavoiding the need to create one manually viaLoadBalancer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toloadBalancers(List<LoadBalancer>).- Parameters:
loadBalancers- a consumer that will call methods onLoadBalancer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextMarker
If there are additional results, this is the marker for the next set of results. Otherwise, this is null.
- Parameters:
nextMarker- If there are additional results, this is the marker for the next set of results. Otherwise, this is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-