public static final class CfnConnectorProfile.OAuthPropertiesProperty.Builder
extends java.lang.Object
CfnConnectorProfile.OAuthPropertiesProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnConnectorProfile.OAuthPropertiesProperty.Builder |
authCodeUrl(java.lang.String authCodeUrl)
Sets the value of
CfnConnectorProfile.OAuthPropertiesProperty.getAuthCodeUrl() |
CfnConnectorProfile.OAuthPropertiesProperty |
build()
Builds the configured instance.
|
CfnConnectorProfile.OAuthPropertiesProperty.Builder |
oAuthScopes(java.util.List<java.lang.String> oAuthScopes)
Sets the value of
CfnConnectorProfile.OAuthPropertiesProperty.getOAuthScopes() |
CfnConnectorProfile.OAuthPropertiesProperty.Builder |
tokenUrl(java.lang.String tokenUrl)
Sets the value of
CfnConnectorProfile.OAuthPropertiesProperty.getTokenUrl() |
public CfnConnectorProfile.OAuthPropertiesProperty.Builder authCodeUrl(java.lang.String authCodeUrl)
CfnConnectorProfile.OAuthPropertiesProperty.getAuthCodeUrl()
authCodeUrl
- The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.this
public CfnConnectorProfile.OAuthPropertiesProperty.Builder oAuthScopes(java.util.List<java.lang.String> oAuthScopes)
CfnConnectorProfile.OAuthPropertiesProperty.getOAuthScopes()
oAuthScopes
- The OAuth scopes required for OAuth type authentication.this
public CfnConnectorProfile.OAuthPropertiesProperty.Builder tokenUrl(java.lang.String tokenUrl)
CfnConnectorProfile.OAuthPropertiesProperty.getTokenUrl()
tokenUrl
- The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.this
public CfnConnectorProfile.OAuthPropertiesProperty build()
CfnConnectorProfile.OAuthPropertiesProperty
java.lang.NullPointerException
- if any required attribute was not provided