Class CfnQuickConnectProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnQuickConnectProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQuickConnectProps>
- Enclosing interface:
- CfnQuickConnectProps
@Stability(Stable)
public static final class CfnQuickConnectProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQuickConnectProps>
A builder for
CfnQuickConnectProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnQuickConnectProps.getDescription()instanceArn(String instanceArn) Sets the value ofCfnQuickConnectProps.getInstanceArn()Sets the value ofCfnQuickConnectProps.getName()quickConnectConfig(IResolvable quickConnectConfig) Sets the value ofCfnQuickConnectProps.getQuickConnectConfig()quickConnectConfig(CfnQuickConnect.QuickConnectConfigProperty quickConnectConfig) Sets the value ofCfnQuickConnectProps.getQuickConnectConfig()Sets the value ofCfnQuickConnectProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnQuickConnectProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnQuickConnectProps.getName()- Parameters:
name- The name of the quick connect. This parameter is required.- Returns:
this
-
quickConnectConfig
@Stability(Stable) public CfnQuickConnectProps.Builder quickConnectConfig(IResolvable quickConnectConfig) Sets the value ofCfnQuickConnectProps.getQuickConnectConfig()- Parameters:
quickConnectConfig- Contains information about the quick connect. This parameter is required.- Returns:
this
-
quickConnectConfig
@Stability(Stable) public CfnQuickConnectProps.Builder quickConnectConfig(CfnQuickConnect.QuickConnectConfigProperty quickConnectConfig) Sets the value ofCfnQuickConnectProps.getQuickConnectConfig()- Parameters:
quickConnectConfig- Contains information about the quick connect. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnQuickConnectProps.getDescription()- Parameters:
description- The description of the quick connect.- Returns:
this
-
tags
Sets the value ofCfnQuickConnectProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQuickConnectProps>- Returns:
- a new instance of
CfnQuickConnectProps - Throws:
NullPointerException- if any required attribute was not provided
-