Class CfnPlugin.PluginAuthConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnPlugin.PluginAuthConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlugin.PluginAuthConfigurationProperty>
- Enclosing interface:
CfnPlugin.PluginAuthConfigurationProperty
@Stability(Stable)
public static final class CfnPlugin.PluginAuthConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlugin.PluginAuthConfigurationProperty>
A builder for
CfnPlugin.PluginAuthConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbasicAuthConfiguration(IResolvable basicAuthConfiguration) Sets the value ofCfnPlugin.PluginAuthConfigurationProperty.getBasicAuthConfiguration()basicAuthConfiguration(CfnPlugin.BasicAuthConfigurationProperty basicAuthConfiguration) Sets the value ofCfnPlugin.PluginAuthConfigurationProperty.getBasicAuthConfiguration()build()Builds the configured instance.noAuthConfiguration(Object noAuthConfiguration) Sets the value ofCfnPlugin.PluginAuthConfigurationProperty.getNoAuthConfiguration()oAuth2ClientCredentialConfiguration(IResolvable oAuth2ClientCredentialConfiguration) oAuth2ClientCredentialConfiguration(CfnPlugin.OAuth2ClientCredentialConfigurationProperty oAuth2ClientCredentialConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
basicAuthConfiguration
@Stability(Stable) public CfnPlugin.PluginAuthConfigurationProperty.Builder basicAuthConfiguration(IResolvable basicAuthConfiguration) Sets the value ofCfnPlugin.PluginAuthConfigurationProperty.getBasicAuthConfiguration()- Parameters:
basicAuthConfiguration- Information about the basic authentication credentials used to configure a plugin.- Returns:
this
-
basicAuthConfiguration
@Stability(Stable) public CfnPlugin.PluginAuthConfigurationProperty.Builder basicAuthConfiguration(CfnPlugin.BasicAuthConfigurationProperty basicAuthConfiguration) Sets the value ofCfnPlugin.PluginAuthConfigurationProperty.getBasicAuthConfiguration()- Parameters:
basicAuthConfiguration- Information about the basic authentication credentials used to configure a plugin.- Returns:
this
-
noAuthConfiguration
@Stability(Stable) public CfnPlugin.PluginAuthConfigurationProperty.Builder noAuthConfiguration(Object noAuthConfiguration) Sets the value ofCfnPlugin.PluginAuthConfigurationProperty.getNoAuthConfiguration()- Parameters:
noAuthConfiguration- Information about invoking a custom plugin without any authentication.- Returns:
this
-
oAuth2ClientCredentialConfiguration
@Stability(Stable) public CfnPlugin.PluginAuthConfigurationProperty.Builder oAuth2ClientCredentialConfiguration(IResolvable oAuth2ClientCredentialConfiguration) Sets the value ofCfnPlugin.PluginAuthConfigurationProperty.getOAuth2ClientCredentialConfiguration()- Parameters:
oAuth2ClientCredentialConfiguration- Information about the OAuth 2.0 authentication credential/token used to configure a plugin.- Returns:
this
-
oAuth2ClientCredentialConfiguration
@Stability(Stable) public CfnPlugin.PluginAuthConfigurationProperty.Builder oAuth2ClientCredentialConfiguration(CfnPlugin.OAuth2ClientCredentialConfigurationProperty oAuth2ClientCredentialConfiguration) Sets the value ofCfnPlugin.PluginAuthConfigurationProperty.getOAuth2ClientCredentialConfiguration()- Parameters:
oAuth2ClientCredentialConfiguration- Information about the OAuth 2.0 authentication credential/token used to configure a plugin.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlugin.PluginAuthConfigurationProperty>- Returns:
- a new instance of
CfnPlugin.PluginAuthConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-