Interface AssociateLinkResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AssociateLinkResponse.Builder,
,AssociateLinkResponse> NetworkManagerResponse.Builder
,SdkBuilder<AssociateLinkResponse.Builder,
,AssociateLinkResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AssociateLinkResponse
public static interface AssociateLinkResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<AssociateLinkResponse.Builder,AssociateLinkResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateLinkResponse.Builder
linkAssociation
(Consumer<LinkAssociation.Builder> linkAssociation) The link association.linkAssociation
(LinkAssociation linkAssociation) The link association.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 Details
-
linkAssociation
The link association.
- Parameters:
linkAssociation
- The link association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkAssociation
default AssociateLinkResponse.Builder linkAssociation(Consumer<LinkAssociation.Builder> linkAssociation) The link association.
This is a convenience method that creates an instance of theLinkAssociation.Builder
avoiding the need to create one manually viaLinkAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolinkAssociation(LinkAssociation)
.- Parameters:
linkAssociation
- 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:
-