Class Credential
java.lang.Object
com.azure.resourcemanager.datafactory.models.Credential
- Direct Known Subclasses:
ManagedIdentityCredential
,ServicePrincipalCredential
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet 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.Get the annotations property: List of tags that can be used for describing the Credential.Get the description property: Credential description.void
validate()
Validates the instance.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.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.
-
Constructor Details
-
Credential
public Credential()Creates an instance of Credential class.
-
-
Method Details
-
description
Get the description property: Credential description.- Returns:
- the description value.
-
withDescription
Set the description property: Credential description.- Parameters:
description
- the description value to set.- Returns:
- the Credential object itself.
-
annotations
Get the annotations property: List of tags that can be used for describing the Credential.- Returns:
- the annotations value.
-
withAnnotations
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
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
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.
-