Class VpcAttachmentReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.networkmanager.VpcAttachmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcAttachmentReference>
- Enclosing interface:
VpcAttachmentReference
@Stability(Stable)
public static final class VpcAttachmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<VpcAttachmentReference>
A builder for
VpcAttachmentReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentId(String attachmentId) Sets the value ofVpcAttachmentReference.getAttachmentId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachmentId
Sets the value ofVpcAttachmentReference.getAttachmentId()- Parameters:
attachmentId- The AttachmentId of the VpcAttachment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpcAttachmentReference>- Returns:
- a new instance of
VpcAttachmentReference - Throws:
NullPointerException- if any required attribute was not provided
-