Class CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty>
- Enclosing interface:
CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty
@Stability(Stable)
public static final class CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty>
-
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.OAuth2PropertiesInputProperty oAuth2Properties) oAuth2Properties(IResolvable oAuth2Properties)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationType
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder authenticationType(String authenticationType) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getAuthenticationType()- Parameters:
authenticationType- A structure containing the authentication configuration in the CreateConnection request.- Returns:
this
-
basicAuthenticationCredentials
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder basicAuthenticationCredentials(IResolvable basicAuthenticationCredentials) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getBasicAuthenticationCredentials()- Parameters:
basicAuthenticationCredentials- The credentials used when the authentication type is basic authentication.- Returns:
this
-
basicAuthenticationCredentials
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder basicAuthenticationCredentials(CfnConnectionPropsMixin.BasicAuthenticationCredentialsProperty basicAuthenticationCredentials) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getBasicAuthenticationCredentials()- Parameters:
basicAuthenticationCredentials- The credentials used when the authentication type is basic authentication.- Returns:
this
-
customAuthenticationCredentials
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder customAuthenticationCredentials(Object customAuthenticationCredentials) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getCustomAuthenticationCredentials()- Parameters:
customAuthenticationCredentials- The credentials used when the authentication type is custom authentication.- Returns:
this
-
kmsKeyArn
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder kmsKeyArn(String kmsKeyArn) - Parameters:
kmsKeyArn- The ARN of the KMS key used to encrypt the connection. Only taken an as input in the request and stored in the Secret Manager.- Returns:
this
-
oAuth2Properties
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder oAuth2Properties(IResolvable oAuth2Properties) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getOAuth2Properties()- Parameters:
oAuth2Properties- The properties for OAuth2 authentication in the CreateConnection request.- Returns:
this
-
oAuth2Properties
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder oAuth2Properties(CfnConnectionPropsMixin.OAuth2PropertiesInputProperty oAuth2Properties) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getOAuth2Properties()- Parameters:
oAuth2Properties- The properties for OAuth2 authentication in the CreateConnection request.- Returns:
this
-
secretArn
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.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.AuthenticationConfigurationInputProperty>- Returns:
- a new instance of
CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-