Class CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty>
- Enclosing interface:
CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty
@Stability(Stable)
public static final class CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiKey(IResolvable apiKey) authenticationType(String authenticationType) basic(IResolvable basic) build()Builds the configured instance.custom(IResolvable custom) oauth2(IResolvable oauth2)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKey
@Stability(Stable) public CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder apiKey(IResolvable apiKey) Sets the value ofCfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.getApiKey()- Parameters:
apiKey- The API keys required for the authentication of the user.- Returns:
this
-
apiKey
@Stability(Stable) public CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder apiKey(CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty apiKey) Sets the value ofCfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.getApiKey()- Parameters:
apiKey- The API keys required for the authentication of the user.- Returns:
this
-
authenticationType
@Stability(Stable) public CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder authenticationType(String authenticationType) Sets the value ofCfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.getAuthenticationType()- Parameters:
authenticationType- The authentication type that the custom connector uses for authenticating while creating a connector profile.- Returns:
this
-
basic
@Stability(Stable) public CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder basic(IResolvable basic) Sets the value ofCfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.getBasic()- Parameters:
basic- The basic credentials that are required for the authentication of the user.- Returns:
this
-
basic
@Stability(Stable) public CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder basic(CfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty basic) Sets the value ofCfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.getBasic()- Parameters:
basic- The basic credentials that are required for the authentication of the user.- Returns:
this
-
custom
@Stability(Stable) public CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder custom(IResolvable custom) Sets the value ofCfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.getCustom()- Parameters:
custom- If the connector uses the custom authentication mechanism, this holds the required credentials.- Returns:
this
-
custom
@Stability(Stable) public CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder custom(CfnConnectorProfilePropsMixin.CustomAuthCredentialsProperty custom) Sets the value ofCfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.getCustom()- Parameters:
custom- If the connector uses the custom authentication mechanism, this holds the required credentials.- Returns:
this
-
oauth2
@Stability(Stable) public CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder oauth2(IResolvable oauth2) Sets the value ofCfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.getOauth2()- Parameters:
oauth2- The OAuth 2.0 credentials required for the authentication of the user.- Returns:
this
-
oauth2
@Stability(Stable) public CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder oauth2(CfnConnectorProfilePropsMixin.OAuth2CredentialsProperty oauth2) Sets the value ofCfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.getOauth2()- Parameters:
oauth2- The OAuth 2.0 credentials required for the authentication of the user.- Returns:
this
-
build
@Stability(Stable) public CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty>- Returns:
- a new instance of
CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-