Class AzureClientCredential
java.lang.Object
co.yellowdog.platform.account.credentials.AzureClientCredential
- All Implemented Interfaces:
AzureComputeCredential, Credential, Serializable
@JsonClassDescription("Azure credential that provides access to Azure Cloud")
public final class AzureClientCredential
extends Object
implements AzureComputeCredential
Holds the properties that form a set of credentials for Microsoft Azure.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder that can be used to build a new AzureClientCredential that is automatically validated on build. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface Credential
getExpiryTime
-
Constructor Details
-
AzureClientCredential
public AzureClientCredential(String name, String description, String clientId, String tenantId, String subscriptionId, String key) Creates a newAzureClientCredentialinstance.- Parameters:
name-description-clientId- the Azure Client IDtenantId- the Azure Tenant IDsubscriptionId- the Azure Subscription IDkey- the Azure key
-
-
Method Details
-
builder
-
toBuilder
- Specified by:
toBuilderin interfaceCredential
-
getName
Description copied from interface:CredentialReturns the name assigned to the Credential to identify it to the ComputeServiceClient.- Specified by:
getNamein interfaceCredential- Returns:
- the name assigned to the Credential
-
getDescription
- Specified by:
getDescriptionin interfaceCredential
-
getClientId
-
getTenantId
-
getSubscriptionId
-
getKey
-
equals
-
hashCode
-
toString
-