Class CfnConnectAttachment.ConnectAttachmentOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnConnectAttachment.ConnectAttachmentOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectAttachment.ConnectAttachmentOptionsProperty>
- Enclosing interface:
CfnConnectAttachment.ConnectAttachmentOptionsProperty
@Stability(Stable)
public static final class CfnConnectAttachment.ConnectAttachmentOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectAttachment.ConnectAttachmentOptionsProperty>
A builder for
CfnConnectAttachment.ConnectAttachmentOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnConnectAttachment.ConnectAttachmentOptionsProperty.getProtocol()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
protocol
@Stability(Stable) public CfnConnectAttachment.ConnectAttachmentOptionsProperty.Builder protocol(String protocol) Sets the value ofCfnConnectAttachment.ConnectAttachmentOptionsProperty.getProtocol()
- Parameters:
protocol
- The protocol used for the attachment connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnectAttachment.ConnectAttachmentOptionsProperty>
- Returns:
- a new instance of
CfnConnectAttachment.ConnectAttachmentOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-