Interface CredentialBrokerProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CredentialBrokerProperties.Builder,,CredentialBrokerProperties> SdkBuilder<CredentialBrokerProperties.Builder,,CredentialBrokerProperties> SdkPojo
- Enclosing class:
CredentialBrokerProperties
@Mutable
@NotThreadSafe
public static interface CredentialBrokerProperties.Builder
extends SdkPojo, CopyableBuilder<CredentialBrokerProperties.Builder,CredentialBrokerProperties>
-
Method Summary
Modifier and TypeMethodDescriptioncredentialProviderArn(String credentialProviderArn) The Amazon Resource Name (ARN) of the credential broker OAuth credential provider used to obtain credentials for this connection.oAuth2GrantType(String oAuth2GrantType) The OAuth2 grant type the credential broker uses to obtain tokens.oAuth2GrantType(OAuth2GrantType oAuth2GrantType) The OAuth2 grant type the credential broker uses to obtain tokens.The list of OAuth scopes requested from the credential broker.scopes(Collection<String> scopes) The list of OAuth scopes requested from the credential broker.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
-
credentialProviderArn
The Amazon Resource Name (ARN) of the credential broker OAuth credential provider used to obtain credentials for this connection.
- Parameters:
credentialProviderArn- The Amazon Resource Name (ARN) of the credential broker OAuth credential provider used to obtain credentials for this connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2GrantType
The OAuth2 grant type the credential broker uses to obtain tokens. Must be one of
CLIENT_CREDENTIALS,TOKEN_EXCHANGE,JWT_BEARER, orAUTHORIZATION_CODE.- Parameters:
oAuth2GrantType- The OAuth2 grant type the credential broker uses to obtain tokens. Must be one ofCLIENT_CREDENTIALS,TOKEN_EXCHANGE,JWT_BEARER, orAUTHORIZATION_CODE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2GrantType
The OAuth2 grant type the credential broker uses to obtain tokens. Must be one of
CLIENT_CREDENTIALS,TOKEN_EXCHANGE,JWT_BEARER, orAUTHORIZATION_CODE.- Parameters:
oAuth2GrantType- The OAuth2 grant type the credential broker uses to obtain tokens. Must be one ofCLIENT_CREDENTIALS,TOKEN_EXCHANGE,JWT_BEARER, orAUTHORIZATION_CODE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scopes
The list of OAuth scopes requested from the credential broker. If omitted, the credential provider's default scopes are used.
- Parameters:
scopes- The list of OAuth scopes requested from the credential broker. If omitted, the credential provider's default scopes are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The list of OAuth scopes requested from the credential broker. If omitted, the credential provider's default scopes are used.
- Parameters:
scopes- The list of OAuth scopes requested from the credential broker. If omitted, the credential provider's default scopes are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-