CustomKeys Class

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

Implements

public final class CustomKeys
implements JsonSerializable<CustomKeys>

Custom Keys credential object.

Constructor Summary

Constructor Description
CustomKeys()

Creates an instance of CustomKeys class.

Method Summary

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

Reads an instance of CustomKeys from the JsonReader.

Map<String,String> keys()

Get the keys property: Dictionary of <string>.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CustomKeys withKeys(Map<String,String> keys)

Set the keys property: Dictionary of <string>.

Methods inherited from java.lang.Object

Constructor Details

CustomKeys

public CustomKeys()

Creates an instance of CustomKeys class.

Method Details

fromJson

public static CustomKeys fromJson(JsonReader jsonReader)

Reads an instance of CustomKeys from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomKeys 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 CustomKeys.

keys

public Map<String,String> keys()

Get the keys property: Dictionary of <string>.

Returns:

the keys value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withKeys

public CustomKeys withKeys(Map<String,String> keys)

Set the keys property: Dictionary of <string>.

Parameters:

keys - the keys value to set.

Returns:

the CustomKeys object itself.

Applies to