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 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.-
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:
withDescription
in 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:
withAnnotations
in 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:
validate
in classCredential
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-