Class CfnConnection.AmazonQPropertiesInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnConnection.AmazonQPropertiesInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection.AmazonQPropertiesInputProperty>
- Enclosing interface:
CfnConnection.AmazonQPropertiesInputProperty
@Stability(Stable)
public static final class CfnConnection.AmazonQPropertiesInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection.AmazonQPropertiesInputProperty>
A builder for
CfnConnection.AmazonQPropertiesInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnConnection.AmazonQPropertiesInputProperty.getAuthMode()build()Builds the configured instance.Sets the value ofCfnConnection.AmazonQPropertiesInputProperty.getIsEnabled()isEnabled(IResolvable isEnabled) Sets the value ofCfnConnection.AmazonQPropertiesInputProperty.getIsEnabled()profileArn(String profileArn) Sets the value ofCfnConnection.AmazonQPropertiesInputProperty.getProfileArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authMode
@Stability(Stable) public CfnConnection.AmazonQPropertiesInputProperty.Builder authMode(String authMode) Sets the value ofCfnConnection.AmazonQPropertiesInputProperty.getAuthMode()- Parameters:
authMode- The authentication mode of the connection's AmazonQ properties.- Returns:
this
-
isEnabled
@Stability(Stable) public CfnConnection.AmazonQPropertiesInputProperty.Builder isEnabled(Boolean isEnabled) Sets the value ofCfnConnection.AmazonQPropertiesInputProperty.getIsEnabled()- Parameters:
isEnabled- Specifies whether Amazon Q is enabled for the connection.- Returns:
this
-
isEnabled
@Stability(Stable) public CfnConnection.AmazonQPropertiesInputProperty.Builder isEnabled(IResolvable isEnabled) Sets the value ofCfnConnection.AmazonQPropertiesInputProperty.getIsEnabled()- Parameters:
isEnabled- Specifies whether Amazon Q is enabled for the connection.- Returns:
this
-
profileArn
@Stability(Stable) public CfnConnection.AmazonQPropertiesInputProperty.Builder profileArn(String profileArn) Sets the value ofCfnConnection.AmazonQPropertiesInputProperty.getProfileArn()- Parameters:
profileArn- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnection.AmazonQPropertiesInputProperty>- Returns:
- a new instance of
CfnConnection.AmazonQPropertiesInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-