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:
name
in 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:ValidatedBuilder
Builds the object without enforcing validation constraints. This should only be used for testing purposes- Specified by:
buildUnchecked
in interfaceCredentialBuilder<AzureStorageCredential>
- Overrides:
buildUnchecked
in classValidatedBuilder<AzureStorageCredential>
- Returns:
- the object being built
-
toString
-