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