Interface DisassociateLinkResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisassociateLinkResponse.Builder,,DisassociateLinkResponse> NetworkManagerResponse.Builder,SdkBuilder<DisassociateLinkResponse.Builder,,DisassociateLinkResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DisassociateLinkResponse
@Mutable
@NotThreadSafe
public static interface DisassociateLinkResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<DisassociateLinkResponse.Builder,DisassociateLinkResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DisassociateLinkResponse.BuilderlinkAssociation(Consumer<LinkAssociation.Builder> linkAssociation) Information about the link association.linkAssociation(LinkAssociation linkAssociation) Information about the link association.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
linkAssociation
Information about the link association.
- Parameters:
linkAssociation- Information about the link association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkAssociation
default DisassociateLinkResponse.Builder linkAssociation(Consumer<LinkAssociation.Builder> linkAssociation) Information about the link association.
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 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:
-