CredentialReference Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.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
Map<String,Object> additionalProperties()

Get the additionalProperties property: Credential reference type.

static CredentialReference fromJson(JsonReader jsonReader)

Reads an instance of CredentialReference from the JsonReader.

String referenceName()

Get the referenceName property: Reference credential name.

JsonWriter toJson(JsonWriter jsonWriter)
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.

Methods inherited from java.lang.Object

Constructor Details

CredentialReference

public CredentialReference()

Creates an instance of CredentialReference class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: Credential reference type.

Returns:

the additionalProperties value.

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.

referenceName

public String referenceName()

Get the referenceName property: Reference credential name.

Returns:

the referenceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public CredentialReferenceType type()

Get the type property: Credential reference type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

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.

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.

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.

Applies to