Class CfnConnectorProfile.OAuthPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnConnectorProfile.OAuthPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfile.OAuthPropertiesProperty>
- Enclosing interface:
CfnConnectorProfile.OAuthPropertiesProperty
@Stability(Stable)
public static final class CfnConnectorProfile.OAuthPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfile.OAuthPropertiesProperty>
A builder for
CfnConnectorProfile.OAuthPropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthCodeUrl(String authCodeUrl) Sets the value ofCfnConnectorProfile.OAuthPropertiesProperty.getAuthCodeUrl()build()Builds the configured instance.oAuthScopes(List<String> oAuthScopes) Sets the value ofCfnConnectorProfile.OAuthPropertiesProperty.getOAuthScopes()Sets the value ofCfnConnectorProfile.OAuthPropertiesProperty.getTokenUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authCodeUrl
@Stability(Stable) public CfnConnectorProfile.OAuthPropertiesProperty.Builder authCodeUrl(String authCodeUrl) Sets the value ofCfnConnectorProfile.OAuthPropertiesProperty.getAuthCodeUrl()- Parameters:
authCodeUrl- The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.- Returns:
this
-
oAuthScopes
@Stability(Stable) public CfnConnectorProfile.OAuthPropertiesProperty.Builder oAuthScopes(List<String> oAuthScopes) Sets the value ofCfnConnectorProfile.OAuthPropertiesProperty.getOAuthScopes()- Parameters:
oAuthScopes- The OAuth scopes required for OAuth type authentication.- Returns:
this
-
tokenUrl
@Stability(Stable) public CfnConnectorProfile.OAuthPropertiesProperty.Builder tokenUrl(String tokenUrl) Sets the value ofCfnConnectorProfile.OAuthPropertiesProperty.getTokenUrl()- Parameters:
tokenUrl- The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfile.OAuthPropertiesProperty>- Returns:
- a new instance of
CfnConnectorProfile.OAuthPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-