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