Interface ListServiceNetworkVpcAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListServiceNetworkVpcAssociationsResponse.Builder,,ListServiceNetworkVpcAssociationsResponse> SdkBuilder<ListServiceNetworkVpcAssociationsResponse.Builder,,ListServiceNetworkVpcAssociationsResponse> SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
ListServiceNetworkVpcAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListServiceNetworkVpcAssociationsResponse.Builder
extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<ListServiceNetworkVpcAssociationsResponse.Builder,ListServiceNetworkVpcAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionInformation about the associations.Information about the associations.items(ServiceNetworkVpcAssociationSummary... 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, 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
ListServiceNetworkVpcAssociationsResponse.Builder items(Collection<ServiceNetworkVpcAssociationSummary> 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
ListServiceNetworkVpcAssociationsResponse.Builder items(ServiceNetworkVpcAssociationSummary... 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
ListServiceNetworkVpcAssociationsResponse.Builder items(Consumer<ServiceNetworkVpcAssociationSummary.Builder>... items) Information about the associations.
This is a convenience method that creates an instance of theServiceNetworkVpcAssociationSummary.Builderavoiding the need to create one manually viaServiceNetworkVpcAssociationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ServiceNetworkVpcAssociationSummary>).- Parameters:
items- a consumer that will call methods onServiceNetworkVpcAssociationSummary.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.
-