Interface OAuthClientCredentials.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OAuthClientCredentials.Builder,,OAuthClientCredentials> SdkBuilder<OAuthClientCredentials.Builder,,OAuthClientCredentials> SdkPojo
- Enclosing class:
OAuthClientCredentials
@Mutable
@NotThreadSafe
public static interface OAuthClientCredentials.Builder
extends SdkPojo, CopyableBuilder<OAuthClientCredentials.Builder,OAuthClientCredentials>
-
Method Summary
Modifier and TypeMethodDescriptionThe client ID of the OAuth 2.0 application that is registered with the data source provider.clientSecret(String clientSecret) The client secret of the OAuth 2.0 application that is registered with the data source provider.The username of the account that is used for OAuth 2.0 client credentials authentication with the data source provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientId
The client ID of the OAuth 2.0 application that is registered with the data source provider.
- Parameters:
clientId- The client ID of the OAuth 2.0 application that is registered with the data source provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
The client secret of the OAuth 2.0 application that is registered with the data source provider.
- Parameters:
clientSecret- The client secret of the OAuth 2.0 application that is registered with the data source provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The username of the account that is used for OAuth 2.0 client credentials authentication with the data source provider.
- Parameters:
username- The username of the account that is used for OAuth 2.0 client credentials authentication with the data source provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-