Class CfnPluginProps.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnPluginProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPluginProps>
- Enclosing interface:
CfnPluginProps
@Stability(Stable)
public static final class CfnPluginProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPluginProps>
A builder for
CfnPluginProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) Sets the value ofCfnPluginProps.getApplicationId()
authConfiguration
(IResolvable authConfiguration) Sets the value ofCfnPluginProps.getAuthConfiguration()
authConfiguration
(CfnPlugin.PluginAuthConfigurationProperty authConfiguration) Sets the value ofCfnPluginProps.getAuthConfiguration()
build()
Builds the configured instance.customPluginConfiguration
(IResolvable customPluginConfiguration) Sets the value ofCfnPluginProps.getCustomPluginConfiguration()
customPluginConfiguration
(CfnPlugin.CustomPluginConfigurationProperty customPluginConfiguration) Sets the value ofCfnPluginProps.getCustomPluginConfiguration()
displayName
(String displayName) Sets the value ofCfnPluginProps.getDisplayName()
Sets the value ofCfnPluginProps.getServerUrl()
Sets the value ofCfnPluginProps.getState()
Sets the value ofCfnPluginProps.getTags()
Sets the value ofCfnPluginProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authConfiguration
Sets the value ofCfnPluginProps.getAuthConfiguration()
- Parameters:
authConfiguration
- Authentication configuration information for an Amazon Q Business plugin. This parameter is required.- Returns:
this
-
authConfiguration
@Stability(Stable) public CfnPluginProps.Builder authConfiguration(CfnPlugin.PluginAuthConfigurationProperty authConfiguration) Sets the value ofCfnPluginProps.getAuthConfiguration()
- Parameters:
authConfiguration
- Authentication configuration information for an Amazon Q Business plugin. This parameter is required.- Returns:
this
-
displayName
Sets the value ofCfnPluginProps.getDisplayName()
- Parameters:
displayName
- The name of the plugin. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnPluginProps.getType()
- Parameters:
type
- The type of the plugin. This parameter is required.- Returns:
this
-
applicationId
Sets the value ofCfnPluginProps.getApplicationId()
- Parameters:
applicationId
- The identifier of the application that will contain the plugin.- Returns:
this
-
customPluginConfiguration
@Stability(Stable) public CfnPluginProps.Builder customPluginConfiguration(IResolvable customPluginConfiguration) Sets the value ofCfnPluginProps.getCustomPluginConfiguration()
- Parameters:
customPluginConfiguration
- Configuration information required to create a custom plugin.- Returns:
this
-
customPluginConfiguration
@Stability(Stable) public CfnPluginProps.Builder customPluginConfiguration(CfnPlugin.CustomPluginConfigurationProperty customPluginConfiguration) Sets the value ofCfnPluginProps.getCustomPluginConfiguration()
- Parameters:
customPluginConfiguration
- Configuration information required to create a custom plugin.- Returns:
this
-
serverUrl
Sets the value ofCfnPluginProps.getServerUrl()
- Parameters:
serverUrl
- The plugin server URL used for configuration.- Returns:
this
-
state
Sets the value ofCfnPluginProps.getState()
- Parameters:
state
- The current status of the plugin.- Returns:
this
-
tags
Sets the value ofCfnPluginProps.getTags()
- Parameters:
tags
- A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPluginProps>
- Returns:
- a new instance of
CfnPluginProps
- Throws:
NullPointerException
- if any required attribute was not provided
-