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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetLinkAssociationsResponse.BuilderlinkAssociations(Collection<LinkAssociation> linkAssociations)The link associations.GetLinkAssociationsResponse.BuilderlinkAssociations(Consumer<LinkAssociation.Builder>... linkAssociations)The link associations.GetLinkAssociationsResponse.BuilderlinkAssociations(LinkAssociation... linkAssociations)The link associations.GetLinkAssociationsResponse.BuildernextToken(String nextToken)The token for the next page of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
linkAssociations
GetLinkAssociationsResponse.Builder linkAssociations(Collection<LinkAssociation> 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(LinkAssociation... 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 to#linkAssociations(List.) - 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:
#linkAssociations(java.util.Collection)
-
nextToken
GetLinkAssociationsResponse.Builder nextToken(String 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.
-
-