Interface RegistryRecordOAuthCredentialProvider.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RegistryRecordOAuthCredentialProvider.Builder,,RegistryRecordOAuthCredentialProvider> SdkBuilder<RegistryRecordOAuthCredentialProvider.Builder,,RegistryRecordOAuthCredentialProvider> SdkPojo
- Enclosing class:
RegistryRecordOAuthCredentialProvider
@Mutable
@NotThreadSafe
public static interface RegistryRecordOAuthCredentialProvider.Builder
extends SdkPojo, CopyableBuilder<RegistryRecordOAuthCredentialProvider.Builder,RegistryRecordOAuthCredentialProvider>
-
Method Summary
Modifier and TypeMethodDescriptioncustomParameters(Map<String, String> customParameters) Additional parameters to include in the OAuth 2.0 token request.The OAuth 2.0 grant type used to obtain access tokens.grantType(RegistryRecordOAuthGrantType grantType) The OAuth 2.0 grant type used to obtain access tokens.providerArn(String providerArn) The &ARN; of the OAuth 2.0 credential provider resource in Amazon Bedrock AgentCore Identity.The OAuth 2.0 scopes to request when obtaining access tokens.scopes(Collection<String> scopes) The OAuth 2.0 scopes to request when obtaining access tokens.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
-
providerArn
The &ARN; of the OAuth 2.0 credential provider resource in Amazon Bedrock AgentCore Identity.
- Parameters:
providerArn- The &ARN; of the OAuth 2.0 credential provider resource in Amazon Bedrock AgentCore Identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantType
The OAuth 2.0 grant type used to obtain access tokens.
- Parameters:
grantType- The OAuth 2.0 grant type used to obtain access tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
grantType
The OAuth 2.0 grant type used to obtain access tokens.
- Parameters:
grantType- The OAuth 2.0 grant type used to obtain access tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scopes
The OAuth 2.0 scopes to request when obtaining access tokens.
- Parameters:
scopes- The OAuth 2.0 scopes to request when obtaining access tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The OAuth 2.0 scopes to request when obtaining access tokens.
- Parameters:
scopes- The OAuth 2.0 scopes to request when obtaining access tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customParameters
Additional parameters to include in the OAuth 2.0 token request.
- Parameters:
customParameters- Additional parameters to include in the OAuth 2.0 token request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-