WorkspaceCustomObjectParameter Class

  • java.lang.Object
    • com.azure.resourcemanager.databricks.models.WorkspaceCustomObjectParameter

Implements

public final class WorkspaceCustomObjectParameter
implements JsonSerializable<WorkspaceCustomObjectParameter>

The value which should be used for this field.

Constructor Summary

Constructor Description
WorkspaceCustomObjectParameter()

Creates an instance of WorkspaceCustomObjectParameter class.

Method Summary

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

Reads an instance of WorkspaceCustomObjectParameter from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
CustomParameterType type()

Get the type property: The type of variable that this is.

void validate()

Validates the instance.

Object value()

Get the value property: The value which should be used for this field.

WorkspaceCustomObjectParameter withValue(Object value)

Set the value property: The value which should be used for this field.

Methods inherited from java.lang.Object

Constructor Details

WorkspaceCustomObjectParameter

public WorkspaceCustomObjectParameter()

Creates an instance of WorkspaceCustomObjectParameter class.

Method Details

fromJson

public static WorkspaceCustomObjectParameter fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceCustomObjectParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public CustomParameterType type()

Get the type property: The type of variable that this is.

Returns:

the type value.

validate

public void validate()

Validates the instance.

value

public Object value()

Get the value property: The value which should be used for this field.

Returns:

the value value.

withValue

public WorkspaceCustomObjectParameter withValue(Object value)

Set the value property: The value which should be used for this field.

Parameters:

value - the value value to set.

Returns:

the WorkspaceCustomObjectParameter object itself.

Applies to