DatastoreCredentials Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.DatastoreCredentials

Implements

public class DatastoreCredentials
implements JsonSerializable<DatastoreCredentials>

Base definition for datastore credentials.

Constructor Summary

Constructor Description
DatastoreCredentials()

Creates an instance of DatastoreCredentials class.

Method Summary

Modifier and Type Method and Description
CredentialsType credentialsType()

Get the credentialsType property: [Required] Credential type used to authentication with storage.

static DatastoreCredentials fromJson(JsonReader jsonReader)

Reads an instance of DatastoreCredentials from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DatastoreCredentials

public DatastoreCredentials()

Creates an instance of DatastoreCredentials class.

Method Details

credentialsType

public CredentialsType credentialsType()

Get the credentialsType property: [Required] Credential type used to authentication with storage.

Returns:

the credentialsType value.

fromJson

public static DatastoreCredentials fromJson(JsonReader jsonReader)

Reads an instance of DatastoreCredentials from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the DatastoreCredentials.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to