Interface RegistryRecordCredentialProviderUnion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RegistryRecordCredentialProviderUnion.Builder,,RegistryRecordCredentialProviderUnion> SdkBuilder<RegistryRecordCredentialProviderUnion.Builder,,RegistryRecordCredentialProviderUnion> SdkPojo
- Enclosing class:
RegistryRecordCredentialProviderUnion
@Mutable
@NotThreadSafe
public static interface RegistryRecordCredentialProviderUnion.Builder
extends SdkPojo, CopyableBuilder<RegistryRecordCredentialProviderUnion.Builder,RegistryRecordCredentialProviderUnion>
-
Method Summary
Modifier and TypeMethodDescriptioniamCredentialProvider(Consumer<RegistryRecordIamCredentialProvider.Builder> iamCredentialProvider) The IAM credential provider configuration for authenticating with the external source using SigV4 signing.iamCredentialProvider(RegistryRecordIamCredentialProvider iamCredentialProvider) The IAM credential provider configuration for authenticating with the external source using SigV4 signing.oauthCredentialProvider(Consumer<RegistryRecordOAuthCredentialProvider.Builder> oauthCredentialProvider) The OAuth credential provider configuration for authenticating with the external source.oauthCredentialProvider(RegistryRecordOAuthCredentialProvider oauthCredentialProvider) The OAuth credential provider configuration for authenticating with the external source.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
-
oauthCredentialProvider
RegistryRecordCredentialProviderUnion.Builder oauthCredentialProvider(RegistryRecordOAuthCredentialProvider oauthCredentialProvider) The OAuth credential provider configuration for authenticating with the external source.
- Parameters:
oauthCredentialProvider- The OAuth credential provider configuration for authenticating with the external source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauthCredentialProvider
default RegistryRecordCredentialProviderUnion.Builder oauthCredentialProvider(Consumer<RegistryRecordOAuthCredentialProvider.Builder> oauthCredentialProvider) The OAuth credential provider configuration for authenticating with the external source.
This is a convenience method that creates an instance of theRegistryRecordOAuthCredentialProvider.Builderavoiding the need to create one manually viaRegistryRecordOAuthCredentialProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooauthCredentialProvider(RegistryRecordOAuthCredentialProvider).- Parameters:
oauthCredentialProvider- a consumer that will call methods onRegistryRecordOAuthCredentialProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iamCredentialProvider
RegistryRecordCredentialProviderUnion.Builder iamCredentialProvider(RegistryRecordIamCredentialProvider iamCredentialProvider) The IAM credential provider configuration for authenticating with the external source using SigV4 signing.
- Parameters:
iamCredentialProvider- The IAM credential provider configuration for authenticating with the external source using SigV4 signing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamCredentialProvider
default RegistryRecordCredentialProviderUnion.Builder iamCredentialProvider(Consumer<RegistryRecordIamCredentialProvider.Builder> iamCredentialProvider) The IAM credential provider configuration for authenticating with the external source using SigV4 signing.
This is a convenience method that creates an instance of theRegistryRecordIamCredentialProvider.Builderavoiding the need to create one manually viaRegistryRecordIamCredentialProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toiamCredentialProvider(RegistryRecordIamCredentialProvider).- Parameters:
iamCredentialProvider- a consumer that will call methods onRegistryRecordIamCredentialProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-