Class LinkReference.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.LinkReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LinkReference>
- Enclosing interface:
LinkReference
@Stability(Stable)
public static final class LinkReference.Builder
extends Object
implements software.amazon.jsii.Builder<LinkReference>
A builder for
LinkReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.globalNetworkId(String globalNetworkId) Sets the value ofLinkReference.getGlobalNetworkId()Sets the value ofLinkReference.getLinkArn()Sets the value ofLinkReference.getLinkId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
globalNetworkId
Sets the value ofLinkReference.getGlobalNetworkId()- Parameters:
globalNetworkId- The GlobalNetworkId of the Link resource. This parameter is required.- Returns:
this
-
linkArn
Sets the value ofLinkReference.getLinkArn()- Parameters:
linkArn- The ARN of the Link resource. This parameter is required.- Returns:
this
-
linkId
Sets the value ofLinkReference.getLinkId()- Parameters:
linkId- The LinkId of the Link resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LinkReference>- Returns:
- a new instance of
LinkReference - Throws:
NullPointerException- if any required attribute was not provided
-