Class ManagedIdentityCredential
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Credential
-
- com.azure.resourcemanager.datafactory.models.ManagedIdentityCredential
-
public final class ManagedIdentityCredential extends Credential
Managed identity credential.
-
-
Constructor Summary
Constructors Constructor Description ManagedIdentityCredential()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringresourceId()Get the resourceId property: The resource id of user assigned managed identity.voidvalidate()Validates the instance.ManagedIdentityCredentialwithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the Credential.ManagedIdentityCredentialwithDescription(String description)Set the description property: Credential description.ManagedIdentityCredentialwithResourceId(String resourceId)Set the resourceId property: The resource id of user assigned managed identity.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Credential
additionalProperties, annotations, description, withAdditionalProperties
-
-
-
-
Method Detail
-
withDescription
public ManagedIdentityCredential withDescription(String description)
Set the description property: Credential description.- Overrides:
withDescriptionin classCredential- Parameters:
description- the description value to set.- Returns:
- the Credential object itself.
-
withAnnotations
public ManagedIdentityCredential withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the Credential.- Overrides:
withAnnotationsin classCredential- Parameters:
annotations- the annotations value to set.- Returns:
- the Credential object itself.
-
resourceId
public String resourceId()
Get the resourceId property: The resource id of user assigned managed identity.- Returns:
- the resourceId value.
-
withResourceId
public ManagedIdentityCredential withResourceId(String resourceId)
Set the resourceId property: The resource id of user assigned managed identity.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the ManagedIdentityCredential object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classCredential- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-