Class AzureStorageCredential.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<AzureStorageCredential>
co.yellowdog.platform.account.credentials.AzureStorageCredential.Builder
- All Implemented Interfaces:
CredentialBuilder<AzureStorageCredential>
- Enclosing class:
AzureStorageCredential
public static class AzureStorageCredential.Builder
extends ValidatedBuilder<AzureStorageCredential>
implements CredentialBuilder<AzureStorageCredential>
A builder that can be used to build a new AzureStorageCredential that is automatically validated on build.
-
Method Summary
Modifier and TypeMethodDescriptionaccountKey(String accountKey) The Azure storage account keyaccountName(String accountName) The Azure storage account nameBuilds the object without enforcing validation constraints.description(String description) toString()Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate
-
Method Details
-
name
- Specified by:
namein interfaceCredentialBuilder<AzureStorageCredential>- Returns:
this.
-
description
- Returns:
this.
-
accountName
The Azure storage account name- Parameters:
accountName- the Azure storage account name- Returns:
this.
-
accountKey
The Azure storage account key- Parameters:
accountKey- the Azure storage account Key- Returns:
this.
-
buildUnchecked
Description copied from class:ValidatedBuilderBuilds the object without enforcing validation constraints. This should only be used for testing purposes- Specified by:
buildUncheckedin interfaceCredentialBuilder<AzureStorageCredential>- Overrides:
buildUncheckedin classValidatedBuilder<AzureStorageCredential>- Returns:
- the object being built
-
toString
-