Interface ListTargetGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTargetGroupsResponse.Builder,,ListTargetGroupsResponse> SdkBuilder<ListTargetGroupsResponse.Builder,,ListTargetGroupsResponse> SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
ListTargetGroupsResponse
@Mutable
@NotThreadSafe
public static interface ListTargetGroupsResponse.Builder
extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<ListTargetGroupsResponse.Builder,ListTargetGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<TargetGroupSummary> items) Information about the target groups.items(Consumer<TargetGroupSummary.Builder>... items) Information about the target groups.items(TargetGroupSummary... items) Information about the target groups.If there are additional results, a pagination token for the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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
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
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 toitems(List<TargetGroupSummary>).- 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:
-
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.
-