Interface DescribeTargetGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTargetGroupsResponse.Builder,DescribeTargetGroupsResponse>,ElasticLoadBalancingV2Response.Builder,SdkBuilder<DescribeTargetGroupsResponse.Builder,DescribeTargetGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTargetGroupsResponse
public static interface DescribeTargetGroupsResponse.Builder extends ElasticLoadBalancingV2Response.Builder, SdkPojo, CopyableBuilder<DescribeTargetGroupsResponse.Builder,DescribeTargetGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeTargetGroupsResponse.BuildernextMarker(String nextMarker)If there are additional results, this is the marker for the next set of results.DescribeTargetGroupsResponse.BuildertargetGroups(Collection<TargetGroup> targetGroups)Information about the target groups.DescribeTargetGroupsResponse.BuildertargetGroups(Consumer<TargetGroup.Builder>... targetGroups)Information about the target groups.DescribeTargetGroupsResponse.BuildertargetGroups(TargetGroup... targetGroups)Information about the target groups.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Response.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
-
targetGroups
DescribeTargetGroupsResponse.Builder targetGroups(Collection<TargetGroup> targetGroups)
Information about the target groups.
- Parameters:
targetGroups- Information about the target groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroups
DescribeTargetGroupsResponse.Builder targetGroups(TargetGroup... targetGroups)
Information about the target groups.
- Parameters:
targetGroups- Information about the target groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroups
DescribeTargetGroupsResponse.Builder targetGroups(Consumer<TargetGroup.Builder>... targetGroups)
Information about the target groups.
This is a convenience method that creates an instance of theTargetGroup.Builderavoiding the need to create one manually viaTargetGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targetGroups(List.) - Parameters:
targetGroups- a consumer that will call methods onTargetGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#targetGroups(java.util.Collection)
-
nextMarker
DescribeTargetGroupsResponse.Builder nextMarker(String 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.
-
-