Class ManagedIdentityCredential
java.lang.Object
com.azure.resourcemanager.datafactory.models.Credential
com.azure.resourcemanager.datafactory.models.ManagedIdentityCredential
Managed identity credential.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedIdentityCredential class. -
Method Summary
Modifier and TypeMethodDescriptionGet the resourceId property: The resource id of user assigned managed identity.voidvalidate()Validates the instance.withAnnotations(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the Credential.withDescription(String description) Set the description property: Credential description.withResourceId(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
-
Constructor Details
-
ManagedIdentityCredential
public ManagedIdentityCredential()Creates an instance of ManagedIdentityCredential class.
-
-
Method Details
-
withDescription
Set the description property: Credential description.- Overrides:
withDescriptionin classCredential- Parameters:
description- the description value to set.- Returns:
- the Credential object itself.
-
withAnnotations
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
Get the resourceId property: The resource id of user assigned managed identity.- Returns:
- the resourceId value.
-
withResourceId
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.
-