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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuthProperties.Builder
authCodeUrl(String authCodeUrl)
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.OAuthProperties.Builder
oAuthScopes(String... oAuthScopes)
The OAuth scopes required for OAuth type authentication.OAuthProperties.Builder
oAuthScopes(Collection<String> oAuthScopes)
The OAuth scopes required for OAuth type authentication.OAuthProperties.Builder
tokenUrl(String tokenUrl)
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 Detail
-
tokenUrl
OAuthProperties.Builder tokenUrl(String 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
OAuthProperties.Builder authCodeUrl(String 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
OAuthProperties.Builder oAuthScopes(Collection<String> 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
OAuthProperties.Builder oAuthScopes(String... 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.
-
-