Interface DescribeLoadBalancersResponse.Builder
-
- All Superinterfaces:
AutoScalingResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeLoadBalancersResponse.Builder,DescribeLoadBalancersResponse>
,SdkBuilder<DescribeLoadBalancersResponse.Builder,DescribeLoadBalancersResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeLoadBalancersResponse
public static interface DescribeLoadBalancersResponse.Builder extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<DescribeLoadBalancersResponse.Builder,DescribeLoadBalancersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeLoadBalancersResponse.Builder
loadBalancers(Collection<LoadBalancerState> loadBalancers)
The load balancers.DescribeLoadBalancersResponse.Builder
loadBalancers(Consumer<LoadBalancerState.Builder>... loadBalancers)
The load balancers.DescribeLoadBalancersResponse.Builder
loadBalancers(LoadBalancerState... loadBalancers)
The load balancers.DescribeLoadBalancersResponse.Builder
nextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.-
Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
loadBalancers
DescribeLoadBalancersResponse.Builder loadBalancers(Collection<LoadBalancerState> loadBalancers)
The load balancers.
- Parameters:
loadBalancers
- The load balancers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancers
DescribeLoadBalancersResponse.Builder loadBalancers(LoadBalancerState... loadBalancers)
The load balancers.
- Parameters:
loadBalancers
- The load balancers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancers
DescribeLoadBalancersResponse.Builder loadBalancers(Consumer<LoadBalancerState.Builder>... loadBalancers)
The load balancers.
This is a convenience method that creates an instance of theLoadBalancerState.Builder
avoiding the need to create one manually viaLoadBalancerState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#loadBalancers(List
.) - Parameters:
loadBalancers
- a consumer that will call methods onLoadBalancerState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#loadBalancers(java.util.Collection
)
-
nextToken
DescribeLoadBalancersResponse.Builder nextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the
NextToken
value when requesting the next set of items. This value is null when there are no more items to return.- Parameters:
nextToken
- A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for theNextToken
value when requesting the next set of items. This value is null when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-