Class CredentialReference
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.CredentialReference
-
public final class CredentialReference extends Object
Credential reference type.
-
-
Constructor Summary
Constructors Constructor Description CredentialReference()Creates an instance of CredentialReference class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: Credential reference type.StringreferenceName()Get the referenceName property: Reference credential name.Stringtype()Get the type property: Credential reference type.voidvalidate()Validates the instance.CredentialReferencewithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: Credential reference type.CredentialReferencewithReferenceName(String referenceName)Set the referenceName property: Reference credential name.CredentialReferencewithType(String type)Set the type property: Credential reference type.
-
-
-
Method Detail
-
type
public String type()
Get the type property: Credential reference type.- Returns:
- the type value.
-
withType
public CredentialReference withType(String type)
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.
-
-