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