Class CredentialReference

java.lang.Object
com.azure.resourcemanager.datafactory.models.CredentialReference

public final class CredentialReference extends Object
Credential reference type.
  • Constructor Details

    • CredentialReference

      public CredentialReference()
      Creates an instance of CredentialReference class.
  • Method Details

    • type

      public CredentialReferenceType type()
      Get the type property: Credential reference type.
      Returns:
      the type value.
    • withType

      Set the type property: Credential reference type.
      Parameters:
      type - the type value to set.
      Returns:
      the CredentialReference object itself.
    • referenceName

      public String referenceName()
      Get the referenceName property: Reference credential name.
      Returns:
      the referenceName value.
    • withReferenceName

      public CredentialReference withReferenceName(String referenceName)
      Set the referenceName property: Reference credential name.
      Parameters:
      referenceName - the referenceName value to set.
      Returns:
      the CredentialReference object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: Credential reference type.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public CredentialReference withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: Credential reference type.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the CredentialReference object itself.
    • validate

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