Class CfnLinkAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkmanager.CfnLinkAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLinkAssociationMixinProps>
- Enclosing interface:
CfnLinkAssociationMixinProps
@Stability(Stable)
public static final class CfnLinkAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLinkAssociationMixinProps>
A builder for
CfnLinkAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLinkAssociationMixinProps.getDeviceId()globalNetworkId(String globalNetworkId) Sets the value ofCfnLinkAssociationMixinProps.getGlobalNetworkId()Sets the value ofCfnLinkAssociationMixinProps.getLinkId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceId
Sets the value ofCfnLinkAssociationMixinProps.getDeviceId()- Parameters:
deviceId- The device ID for the link association.- Returns:
this
-
globalNetworkId
@Stability(Stable) public CfnLinkAssociationMixinProps.Builder globalNetworkId(String globalNetworkId) Sets the value ofCfnLinkAssociationMixinProps.getGlobalNetworkId()- Parameters:
globalNetworkId- The ID of the global network.- Returns:
this
-
linkId
Sets the value ofCfnLinkAssociationMixinProps.getLinkId()- Parameters:
linkId- The ID of the link.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLinkAssociationMixinProps>- Returns:
- a new instance of
CfnLinkAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-