public final class ManagedIdentityCredential extends Credential
| Constructor and Description |
|---|
ManagedIdentityCredential() |
| Modifier and Type | Method and Description |
|---|---|
String |
resourceId()
Get the resourceId property: The resource id of user assigned managed identity.
|
void |
validate()
Validates the instance.
|
ManagedIdentityCredential |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the Credential.
|
ManagedIdentityCredential |
withDescription(String description)
Set the description property: Credential description.
|
ManagedIdentityCredential |
withResourceId(String resourceId)
Set the resourceId property: The resource id of user assigned managed identity.
|
additionalProperties, annotations, description, withAdditionalPropertiespublic ManagedIdentityCredential withDescription(String description)
withDescription in class Credentialdescription - the description value to set.public ManagedIdentityCredential withAnnotations(List<Object> annotations)
withAnnotations in class Credentialannotations - the annotations value to set.public String resourceId()
public ManagedIdentityCredential withResourceId(String resourceId)
resourceId - the resourceId value to set.public void validate()
validate in class CredentialIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.