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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: Credential reference type.String
referenceName()
Get the referenceName property: Reference credential name.CredentialReferenceType
type()
Get the type property: Credential reference type.void
validate()
Validates the instance.CredentialReference
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Credential reference type.CredentialReference
withReferenceName(String referenceName)
Set the referenceName property: Reference credential name.CredentialReference
withType(CredentialReferenceType type)
Set the type property: Credential reference type.
-
-
-
Method Detail
-
type
public CredentialReferenceType type()
Get the type property: Credential reference type.- Returns:
- the type value.
-
withType
public CredentialReference withType(CredentialReferenceType 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.
-
-