Class CfnConnectionPropsMixin.AttachPointProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.interconnect.CfnConnectionPropsMixin.AttachPointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionPropsMixin.AttachPointProperty>
- Enclosing interface:
CfnConnectionPropsMixin.AttachPointProperty
@Stability(Stable)
public static final class CfnConnectionPropsMixin.AttachPointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionPropsMixin.AttachPointProperty>
A builder for
CfnConnectionPropsMixin.AttachPointProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnConnectionPropsMixin.AttachPointProperty.getArn()build()Builds the configured instance.directConnectGateway(String directConnectGateway) Sets the value ofCfnConnectionPropsMixin.AttachPointProperty.getDirectConnectGateway()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnConnectionPropsMixin.AttachPointProperty.getArn()- Parameters:
arn- The ARN of the resource to attach to.- Returns:
this
-
directConnectGateway
@Stability(Stable) public CfnConnectionPropsMixin.AttachPointProperty.Builder directConnectGateway(String directConnectGateway) Sets the value ofCfnConnectionPropsMixin.AttachPointProperty.getDirectConnectGateway()- Parameters:
directConnectGateway- The ID of the Direct Connect Gateway to attach to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionPropsMixin.AttachPointProperty>- Returns:
- a new instance of
CfnConnectionPropsMixin.AttachPointProperty - Throws:
NullPointerException- if any required attribute was not provided
-