Class AzureClientCredential.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<AzureClientCredential>
co.yellowdog.platform.account.credentials.AzureClientCredential.Builder
- All Implemented Interfaces:
CredentialBuilder<AzureClientCredential>
- Enclosing class:
AzureClientCredential
public static class AzureClientCredential.Builder
extends ValidatedBuilder<AzureClientCredential>
implements CredentialBuilder<AzureClientCredential>
A builder that can be used to build a new AzureClientCredential that is automatically validated on build.
-
Method Summary
Modifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.The Azure Client IDdescription
(String description) The Azure KeysubscriptionId
(String subscriptionId) The Azure Subscription IDThe Azure Tenant IDtoString()
Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate
-
Method Details
-
name
- Specified by:
name
in interfaceCredentialBuilder<AzureClientCredential>
- Returns:
this
.
-
description
- Returns:
this
.
-
clientId
The Azure Client ID- Parameters:
clientId
- the Azure Client ID- Returns:
this
.
-
tenantId
The Azure Tenant ID- Parameters:
tenantId
- the Azure Tenant ID- Returns:
this
.
-
subscriptionId
The Azure Subscription ID- Parameters:
subscriptionId
- the Azure Subscription ID- Returns:
this
.
-
key
The Azure Key- Parameters:
key
- the Azure key- Returns:
this
.
-
buildUnchecked
Description copied from class:ValidatedBuilder
Builds the object without enforcing validation constraints. This should only be used for testing purposes- Specified by:
buildUnchecked
in interfaceCredentialBuilder<AzureClientCredential>
- Overrides:
buildUnchecked
in classValidatedBuilder<AzureClientCredential>
- Returns:
- the object being built
-
toString
-