CredentialReference Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.CredentialReference

Implements

public final class CredentialReference
implements JsonSerializable<CredentialReference>

Credential reference type.

Constructor Summary

Constructor Description
CredentialReference()

Creates an instance of CredentialReference class.

Method Summary

Modifier and Type Method and Description
static CredentialReference fromJson(JsonReader jsonReader)

Reads an instance of CredentialReference from the JsonReader.

Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: Credential reference type.

String getReferenceName()

Get the referenceName property: Reference credential name.

CredentialReferenceType getType()

Get the type property: Credential reference type.

CredentialReference setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Credential reference type.

CredentialReference setReferenceName(String referenceName)

Set the referenceName property: Reference credential name.

CredentialReference setType(CredentialReferenceType type)

Set the type property: Credential reference type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

CredentialReference

public CredentialReference()

Creates an instance of CredentialReference class.

Method Details

fromJson

public static CredentialReference fromJson(JsonReader jsonReader)

Reads an instance of CredentialReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CredentialReference if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getAdditionalProperties

public Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: Credential reference type.

Returns:

the additionalProperties value.

getReferenceName

public String getReferenceName()

Get the referenceName property: Reference credential name.

Returns:

the referenceName value.

getType

public CredentialReferenceType getType()

Get the type property: Credential reference type.

Returns:

the type value.

setAdditionalProperties

public CredentialReference setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Credential reference type.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the CredentialReference object itself.

setReferenceName

public CredentialReference setReferenceName(String referenceName)

Set the referenceName property: Reference credential name.

Parameters:

referenceName - the referenceName value to set.

Returns:

the CredentialReference object itself.

setType

public CredentialReference setType(CredentialReferenceType type)

Set the type property: Credential reference type.

Parameters:

type - the type value to set.

Returns:

the CredentialReference object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to