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
Modifier and TypeMethodDescriptionnextMarker(String nextMarker) If there are additional results, this is the marker for the next set of results.targetGroups(Collection<TargetGroup> targetGroups) Information about the target groups.targetGroups(Consumer<TargetGroup.Builder>... targetGroups) Information about the target groups.targetGroups(TargetGroup... targetGroups) Information about the target groups.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
-
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
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
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 totargetGroups(List<TargetGroup>).- 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:
-
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.
-