Interface GetLinkAssociationsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<GetLinkAssociationsResponse.Builder,,GetLinkAssociationsResponse> NetworkManagerResponse.Builder,SdkBuilder<GetLinkAssociationsResponse.Builder,,GetLinkAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 GetLinkAssociationsResponse
public static interface GetLinkAssociationsResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetLinkAssociationsResponse.Builder,GetLinkAssociationsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionlinkAssociations(Collection<LinkAssociation> linkAssociations) The link associations.linkAssociations(Consumer<LinkAssociation.Builder>... linkAssociations) The link associations.linkAssociations(LinkAssociation... linkAssociations) The link associations.The token for the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse 
- 
Method Details
- 
linkAssociations
The link associations.
- Parameters:
 linkAssociations- The link associations.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
linkAssociations
The link associations.
- Parameters:
 linkAssociations- The link associations.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
linkAssociations
GetLinkAssociationsResponse.Builder linkAssociations(Consumer<LinkAssociation.Builder>... linkAssociations) The link associations.
This is a convenience method that creates an instance of theLinkAssociation.Builderavoiding the need to create one manually viaLinkAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolinkAssociations(List<LinkAssociation>).- Parameters:
 linkAssociations- a consumer that will call methods onLinkAssociation.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
nextToken
The token for the next page of results.
- Parameters:
 nextToken- The token for the next page of results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -