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 custom parameters for the OAuth flow.The OAuth grant type.grantType(RegistryRecordOAuthGrantType grantType) The OAuth grant type.providerArn(String providerArn) The Amazon Resource Name (ARN) of the OAuth credential provider resource.The OAuth scopes to request during authentication.scopes(Collection<String> scopes) The OAuth scopes to request during authentication.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 Amazon Resource Name (ARN) of the OAuth credential provider resource.
- Parameters:
providerArn- The Amazon Resource Name (ARN) of the OAuth credential provider resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantType
The OAuth grant type. Currently only
CLIENT_CREDENTIALSis supported.- Parameters:
grantType- The OAuth grant type. Currently onlyCLIENT_CREDENTIALSis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
grantType
The OAuth grant type. Currently only
CLIENT_CREDENTIALSis supported.- Parameters:
grantType- The OAuth grant type. Currently onlyCLIENT_CREDENTIALSis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scopes
The OAuth scopes to request during authentication.
- Parameters:
scopes- The OAuth scopes to request during authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The OAuth scopes to request during authentication.
- Parameters:
scopes- The OAuth scopes to request during authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customParameters
Additional custom parameters for the OAuth flow.
- Parameters:
customParameters- Additional custom parameters for the OAuth flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-