Class CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionPropsMixin.AuthenticationConfigurationProperty>
- Enclosing interface:
CfnConnectionPropsMixin.AuthenticationConfigurationProperty
@Stability(Stable)
public static final class CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionPropsMixin.AuthenticationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationType(String authenticationType) basicAuthenticationCredentials(CfnConnectionPropsMixin.BasicAuthenticationCredentialsProperty basicAuthenticationCredentials) basicAuthenticationCredentials(IResolvable basicAuthenticationCredentials) build()Builds the configured instance.customAuthenticationCredentials(Object customAuthenticationCredentials) oAuth2Properties(CfnConnectionPropsMixin.OAuth2PropertiesProperty oAuth2Properties) oAuth2Properties(IResolvable oAuth2Properties)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationType
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder authenticationType(String authenticationType) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationProperty.getAuthenticationType()- Parameters:
authenticationType- A structure containing the authentication configuration in the CreateConnection request.- Returns:
this
-
basicAuthenticationCredentials
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder basicAuthenticationCredentials(IResolvable basicAuthenticationCredentials) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationProperty.getBasicAuthenticationCredentials()- Parameters:
basicAuthenticationCredentials- A structure containing the authentication credentials in the CreateConnection request.- Returns:
this
-
basicAuthenticationCredentials
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder basicAuthenticationCredentials(CfnConnectionPropsMixin.BasicAuthenticationCredentialsProperty basicAuthenticationCredentials) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationProperty.getBasicAuthenticationCredentials()- Parameters:
basicAuthenticationCredentials- A structure containing the authentication credentials in the CreateConnection request.- Returns:
this
-
customAuthenticationCredentials
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder customAuthenticationCredentials(Object customAuthenticationCredentials) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationProperty.getCustomAuthenticationCredentials()- Parameters:
customAuthenticationCredentials- A structure containing the authentication credentials in the CreateConnection request.- Returns:
this
-
kmsKeyArn
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) - Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the KMS key used in the authentication configuration.- Returns:
this
-
oAuth2Properties
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder oAuth2Properties(IResolvable oAuth2Properties) - Parameters:
oAuth2Properties- A structure containing the authentication credentials in the CreateConnection request.- Returns:
this
-
oAuth2Properties
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder oAuth2Properties(CfnConnectionPropsMixin.OAuth2PropertiesProperty oAuth2Properties) - Parameters:
oAuth2Properties- A structure containing the authentication credentials in the CreateConnection request.- Returns:
this
-
secretArn
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder secretArn(String secretArn) - Parameters:
secretArn- The secret manager ARN to store credentials in the CreateConnection request.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionPropsMixin.AuthenticationConfigurationProperty>- Returns:
- a new instance of
CfnConnectionPropsMixin.AuthenticationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-