Interface AssociateLinkResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssociateLinkResponse.Builder,,AssociateLinkResponse> NetworkManagerResponse.Builder,SdkBuilder<AssociateLinkResponse.Builder,,AssociateLinkResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AssociateLinkResponse
@Mutable
@NotThreadSafe
public static interface AssociateLinkResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<AssociateLinkResponse.Builder,AssociateLinkResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateLinkResponse.BuilderlinkAssociation(Consumer<LinkAssociation.Builder> linkAssociation) The link association.linkAssociation(LinkAssociation linkAssociation) 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
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.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:
-