Class CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datazone.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(Map<String, String> customAuthenticationCredentials) customAuthenticationCredentials(IResolvable customAuthenticationCredentials) oAuth2Properties(CfnConnectionPropsMixin.OAuth2PropertiesProperty 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- The authentication type of a connection.- Returns:
this
-
basicAuthenticationCredentials
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder basicAuthenticationCredentials(IResolvable basicAuthenticationCredentials) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getBasicAuthenticationCredentials()- Parameters:
basicAuthenticationCredentials- The basic authentication credentials of a connection.- Returns:
this
-
basicAuthenticationCredentials
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder basicAuthenticationCredentials(CfnConnectionPropsMixin.BasicAuthenticationCredentialsProperty basicAuthenticationCredentials) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getBasicAuthenticationCredentials()- Parameters:
basicAuthenticationCredentials- The basic authentication credentials of a connection.- Returns:
this
-
customAuthenticationCredentials
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder customAuthenticationCredentials(Map<String, String> customAuthenticationCredentials) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getCustomAuthenticationCredentials()- Parameters:
customAuthenticationCredentials- The custom authentication credentials of a connection.- Returns:
this
-
customAuthenticationCredentials
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder customAuthenticationCredentials(IResolvable customAuthenticationCredentials) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getCustomAuthenticationCredentials()- Parameters:
customAuthenticationCredentials- The custom authentication credentials of a connection.- Returns:
this
-
kmsKeyArn
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder kmsKeyArn(String kmsKeyArn) - Parameters:
kmsKeyArn- The KMS key ARN of a connection.- Returns:
this
-
oAuth2Properties
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder oAuth2Properties(IResolvable oAuth2Properties) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getOAuth2Properties()- Parameters:
oAuth2Properties- The oAuth2 properties of a connection.- Returns:
this
-
oAuth2Properties
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder oAuth2Properties(CfnConnectionPropsMixin.OAuth2PropertiesProperty oAuth2Properties) Sets the value ofCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.getOAuth2Properties()- Parameters:
oAuth2Properties- The oAuth2 properties of a connection.- Returns:
this
-
secretArn
@Stability(Stable) public CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder secretArn(String secretArn) - Parameters:
secretArn- The secret ARN of a connection.- 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
-