Class CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty>
- Enclosing interface:
CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty
@Stability(Stable)
public static final class CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbasicAuthCredentials
(IResolvable basicAuthCredentials) basicAuthCredentials
(CfnConnectorProfile.BasicAuthCredentialsProperty basicAuthCredentials) build()
Builds the configured instance.oAuthCredentials
(IResolvable oAuthCredentials) oAuthCredentials
(CfnConnectorProfile.OAuthCredentialsProperty oAuthCredentials)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
basicAuthCredentials
@Stability(Stable) public CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty.Builder basicAuthCredentials(IResolvable basicAuthCredentials) Sets the value ofCfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty.getBasicAuthCredentials()
- Parameters:
basicAuthCredentials
- The SAPOData basic authentication credentials.- Returns:
this
-
basicAuthCredentials
@Stability(Stable) public CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty.Builder basicAuthCredentials(CfnConnectorProfile.BasicAuthCredentialsProperty basicAuthCredentials) Sets the value ofCfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty.getBasicAuthCredentials()
- Parameters:
basicAuthCredentials
- The SAPOData basic authentication credentials.- Returns:
this
-
oAuthCredentials
@Stability(Stable) public CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty.Builder oAuthCredentials(IResolvable oAuthCredentials) Sets the value ofCfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty.getOAuthCredentials()
- Parameters:
oAuthCredentials
- The SAPOData OAuth type authentication credentials.- Returns:
this
-
oAuthCredentials
@Stability(Stable) public CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty.Builder oAuthCredentials(CfnConnectorProfile.OAuthCredentialsProperty oAuthCredentials) Sets the value ofCfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty.getOAuthCredentials()
- Parameters:
oAuthCredentials
- The SAPOData OAuth type authentication credentials.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty>
- Returns:
- a new instance of
CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-