Interface ListTargetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTargetsResponse.Builder,,ListTargetsResponse> SdkBuilder<ListTargetsResponse.Builder,,ListTargetsResponse> SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
ListTargetsResponse
public static interface ListTargetsResponse.Builder
extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<ListTargetsResponse.Builder,ListTargetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<TargetSummary> items) Information about the targets.items(Consumer<TargetSummary.Builder>... items) Information about the targets.items(TargetSummary... items) Information about the targets.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, 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 targets.
- Parameters:
items- Information about the targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Information about the targets.
- Parameters:
items- Information about the targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Information about the targets.
This is a convenience method that creates an instance of theTargetSummary.Builderavoiding the need to create one manually viaTargetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<TargetSummary>).- Parameters:
items- a consumer that will call methods onTargetSummary.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.
-