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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssociateLinkResponse.BuilderlinkAssociation(Consumer<LinkAssociation.Builder> linkAssociation)The link association.AssociateLinkResponse.BuilderlinkAssociation(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 Detail
-
linkAssociation
AssociateLinkResponse.Builder linkAssociation(LinkAssociation 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:
linkAssociation(LinkAssociation)
-
-