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