Interface DescribeLoadBalancerTargetGroupsResponse.Builder
- All Superinterfaces:
AutoScalingResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeLoadBalancerTargetGroupsResponse.Builder,
,DescribeLoadBalancerTargetGroupsResponse> SdkBuilder<DescribeLoadBalancerTargetGroupsResponse.Builder,
,DescribeLoadBalancerTargetGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeLoadBalancerTargetGroupsResponse
@Mutable
@NotThreadSafe
public static interface DescribeLoadBalancerTargetGroupsResponse.Builder
extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<DescribeLoadBalancerTargetGroupsResponse.Builder,DescribeLoadBalancerTargetGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionloadBalancerTargetGroups
(Collection<LoadBalancerTargetGroupState> loadBalancerTargetGroups) Information about the target groups.loadBalancerTargetGroups
(Consumer<LoadBalancerTargetGroupState.Builder>... loadBalancerTargetGroups) Information about the target groups.loadBalancerTargetGroups
(LoadBalancerTargetGroupState... loadBalancerTargetGroups) Information about the target groups.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
loadBalancerTargetGroups
DescribeLoadBalancerTargetGroupsResponse.Builder loadBalancerTargetGroups(Collection<LoadBalancerTargetGroupState> loadBalancerTargetGroups) Information about the target groups.
- Parameters:
loadBalancerTargetGroups
- Information about the target groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerTargetGroups
DescribeLoadBalancerTargetGroupsResponse.Builder loadBalancerTargetGroups(LoadBalancerTargetGroupState... loadBalancerTargetGroups) Information about the target groups.
- Parameters:
loadBalancerTargetGroups
- Information about the target groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerTargetGroups
DescribeLoadBalancerTargetGroupsResponse.Builder loadBalancerTargetGroups(Consumer<LoadBalancerTargetGroupState.Builder>... loadBalancerTargetGroups) Information about the target groups.
This is a convenience method that creates an instance of theLoadBalancerTargetGroupState.Builder
avoiding the need to create one manually viaLoadBalancerTargetGroupState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toloadBalancerTargetGroups(List<LoadBalancerTargetGroupState>)
.- Parameters:
loadBalancerTargetGroups
- a consumer that will call methods onLoadBalancerTargetGroupState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-