Interface RegistryRecordCredentialProviderConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RegistryRecordCredentialProviderConfiguration.Builder,,RegistryRecordCredentialProviderConfiguration> SdkBuilder<RegistryRecordCredentialProviderConfiguration.Builder,,RegistryRecordCredentialProviderConfiguration> SdkPojo
- Enclosing class:
RegistryRecordCredentialProviderConfiguration
@Mutable
@NotThreadSafe
public static interface RegistryRecordCredentialProviderConfiguration.Builder
extends SdkPojo, CopyableBuilder<RegistryRecordCredentialProviderConfiguration.Builder,RegistryRecordCredentialProviderConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncredentialProvider(Consumer<RegistryRecordCredentialProviderUnion.Builder> credentialProvider) The credential provider details corresponding to the specified credential provider type.credentialProvider(RegistryRecordCredentialProviderUnion credentialProvider) The credential provider details corresponding to the specified credential provider type.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.
- Parameters:
credentialProviderType- The type of credential provider.- 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.
- Parameters:
credentialProviderType- The type of credential provider.- 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 details corresponding to the specified credential provider type.
- Parameters:
credentialProvider- The credential provider details corresponding to the specified credential provider type.- 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 details corresponding to the specified credential provider type.
This is a convenience method that creates an instance of theRegistryRecordCredentialProviderUnion.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:
-