Interface OAuthProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OAuthProperties.Builder,
,OAuthProperties> SdkBuilder<OAuthProperties.Builder,
,OAuthProperties> SdkPojo
- Enclosing class:
OAuthProperties
public static interface OAuthProperties.Builder
extends SdkPojo, CopyableBuilder<OAuthProperties.Builder,OAuthProperties>
-
Method Summary
Modifier and TypeMethodDescriptionauthCodeUrl
(String authCodeUrl) The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.oAuthScopes
(String... oAuthScopes) The OAuth scopes required for OAuth type authentication.oAuthScopes
(Collection<String> oAuthScopes) The OAuth scopes required for OAuth type authentication.The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
tokenUrl
The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
authCodeUrl
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.
- Parameters:
authCodeUrl
- The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthScopes
The OAuth scopes required for OAuth type authentication.
- Parameters:
oAuthScopes
- The OAuth scopes required for OAuth type authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthScopes
The OAuth scopes required for OAuth type authentication.
- Parameters:
oAuthScopes
- The OAuth scopes required for OAuth type authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-