Interface RegistryRecordCredentialProviderConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RegistryRecordCredentialProviderConfiguration.Builder,,RegistryRecordCredentialProviderConfiguration> SdkBuilder<RegistryRecordCredentialProviderConfiguration.Builder,,RegistryRecordCredentialProviderConfiguration> SdkPojo
- Enclosing class:
RegistryRecordCredentialProviderConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncredentialProvider(Consumer<RegistryRecordCredentialProviderUnion.Builder> credentialProvider) The credential provider configuration details.credentialProvider(RegistryRecordCredentialProviderUnion credentialProvider) The credential provider configuration details.credentialProviderType(String credentialProviderType) The type of credential provider.credentialProviderType(RegistryRecordCredentialProviderType credentialProviderType) The type of credential 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
-
credentialProviderType
RegistryRecordCredentialProviderConfiguration.Builder credentialProviderType(String credentialProviderType) The type of credential provider.
-
OAUTH- OAuth-based authentication. -
IAM- Amazon Web Services IAM-based authentication using SigV4 signing.
- Parameters:
credentialProviderType- The type of credential provider.-
OAUTH- OAuth-based authentication. -
IAM- Amazon Web Services IAM-based authentication using SigV4 signing.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
credentialProviderType
RegistryRecordCredentialProviderConfiguration.Builder credentialProviderType(RegistryRecordCredentialProviderType credentialProviderType) The type of credential provider.
-
OAUTH- OAuth-based authentication. -
IAM- Amazon Web Services IAM-based authentication using SigV4 signing.
- Parameters:
credentialProviderType- The type of credential provider.-
OAUTH- OAuth-based authentication. -
IAM- Amazon Web Services IAM-based authentication using SigV4 signing.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
credentialProvider
RegistryRecordCredentialProviderConfiguration.Builder credentialProvider(RegistryRecordCredentialProviderUnion credentialProvider) The credential provider configuration details. The structure depends on the
credentialProviderType.- Parameters:
credentialProvider- The credential provider configuration details. The structure depends on thecredentialProviderType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProvider
default RegistryRecordCredentialProviderConfiguration.Builder credentialProvider(Consumer<RegistryRecordCredentialProviderUnion.Builder> credentialProvider) The credential provider configuration details. The structure depends on the
This is a convenience method that creates an instance of thecredentialProviderType.RegistryRecordCredentialProviderUnion.Builderavoiding the need to create one manually viaRegistryRecordCredentialProviderUnion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentialProvider(RegistryRecordCredentialProviderUnion).- Parameters:
credentialProvider- a consumer that will call methods onRegistryRecordCredentialProviderUnion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-