java.lang.Object
com.azure.resourcemanager.datafactory.models.Credential
Direct Known Subclasses:
ManagedIdentityCredential, ServicePrincipalCredential

public class Credential extends Object
The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource.
  • Constructor Details

    • Credential

      public Credential()
  • Method Details

    • description

      public String description()
      Get the description property: Credential description.
      Returns:
      the description value.
    • withDescription

      public Credential withDescription(String description)
      Set the description property: Credential description.
      Parameters:
      description - the description value to set.
      Returns:
      the Credential object itself.
    • annotations

      public List<Object> annotations()
      Get the annotations property: List of tags that can be used for describing the Credential.
      Returns:
      the annotations value.
    • withAnnotations

      public Credential withAnnotations(List<Object> annotations)
      Set the annotations property: List of tags that can be used for describing the Credential.
      Parameters:
      annotations - the annotations value to set.
      Returns:
      the Credential object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public Credential withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the Credential object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.