Interface ListTargetGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTargetGroupsResponse.Builder,ListTargetGroupsResponse>,SdkBuilder<ListTargetGroupsResponse.Builder,ListTargetGroupsResponse>,SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
- ListTargetGroupsResponse
public static interface ListTargetGroupsResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<ListTargetGroupsResponse.Builder,ListTargetGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTargetGroupsResponse.Builderitems(Collection<TargetGroupSummary> items)Information about the target groups.ListTargetGroupsResponse.Builderitems(Consumer<TargetGroupSummary.Builder>... items)Information about the target groups.ListTargetGroupsResponse.Builderitems(TargetGroupSummary... items)Information about the target groups.ListTargetGroupsResponse.BuildernextToken(String nextToken)If there are additional results, a pagination token for the next page of results.-
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
-
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
items
ListTargetGroupsResponse.Builder items(Collection<TargetGroupSummary> items)
Information about the target groups.
- Parameters:
items- Information about the target groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListTargetGroupsResponse.Builder items(TargetGroupSummary... items)
Information about the target groups.
- Parameters:
items- Information about the target groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListTargetGroupsResponse.Builder items(Consumer<TargetGroupSummary.Builder>... items)
Information about the target groups.
This is a convenience method that creates an instance of theTargetGroupSummary.Builderavoiding the need to create one manually viaTargetGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onTargetGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListTargetGroupsResponse.Builder nextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
- Parameters:
nextToken- If there are additional results, a pagination token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-