Expression Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.Expression

Implements

public final class Expression
implements JsonSerializable<Expression>

Azure Data Factory expression definition.

Constructor Summary

Constructor Description
Expression()

Creates an instance of Expression class.

Method Summary

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

Reads an instance of Expression from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Expression type.

void validate()

Validates the instance.

String value()

Get the value property: Expression value.

Expression withValue(String value)

Set the value property: Expression value.

Methods inherited from java.lang.Object

Constructor Details

Expression

public Expression()

Creates an instance of Expression class.

Method Details

fromJson

public static Expression fromJson(JsonReader jsonReader)

Reads an instance of Expression from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Expression 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 String type()

Get the type property: Expression type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Expression value.

Returns:

the value value.

withValue

public Expression withValue(String value)

Set the value property: Expression value.

Parameters:

value - the value value to set.

Returns:

the Expression object itself.

Applies to