Class CfnPluginPropsMixin.BasicAuthConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.qbusiness.mixins.CfnPluginPropsMixin.BasicAuthConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPluginPropsMixin.BasicAuthConfigurationProperty>
- Enclosing interface:
CfnPluginPropsMixin.BasicAuthConfigurationProperty
@Stability(Stable)
public static final class CfnPluginPropsMixin.BasicAuthConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPluginPropsMixin.BasicAuthConfigurationProperty>
A builder for
CfnPluginPropsMixin.BasicAuthConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPluginPropsMixin.BasicAuthConfigurationProperty.getRoleArn()Sets the value ofCfnPluginPropsMixin.BasicAuthConfigurationProperty.getSecretArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleArn
@Stability(Stable) public CfnPluginPropsMixin.BasicAuthConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnPluginPropsMixin.BasicAuthConfigurationProperty.getRoleArn()- Parameters:
roleArn- The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.- Returns:
this
-
secretArn
@Stability(Stable) public CfnPluginPropsMixin.BasicAuthConfigurationProperty.Builder secretArn(String secretArn) Sets the value ofCfnPluginPropsMixin.BasicAuthConfigurationProperty.getSecretArn()- Parameters:
secretArn- The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPluginPropsMixin.BasicAuthConfigurationProperty>- Returns:
- a new instance of
CfnPluginPropsMixin.BasicAuthConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-