ExpressionV2 Class

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

Implements

public final class ExpressionV2
implements JsonSerializable<ExpressionV2>

Nested representation of a complex expression.

Constructor Summary

Constructor Description
ExpressionV2()

Creates an instance of ExpressionV2 class.

Method Summary

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

Reads an instance of ExpressionV2 from the JsonReader.

List<ExpressionV2> operands()

Get the operands property: List of nested expressions.

List<String> operators()

Get the operators property: Expression operator value Type: list of strings.

JsonWriter toJson(JsonWriter jsonWriter)
ExpressionV2Type type()

Get the type property: Type of expressions supported by the system.

void validate()

Validates the instance.

String value()

Get the value property: Value for Constant/Field Type: string.

ExpressionV2 withOperands(List<ExpressionV2> operands)

Set the operands property: List of nested expressions.

ExpressionV2 withOperators(List<String> operators)

Set the operators property: Expression operator value Type: list of strings.

ExpressionV2 withType(ExpressionV2Type type)

Set the type property: Type of expressions supported by the system.

ExpressionV2 withValue(String value)

Set the value property: Value for Constant/Field Type: string.

Methods inherited from java.lang.Object

Constructor Details

ExpressionV2

public ExpressionV2()

Creates an instance of ExpressionV2 class.

Method Details

fromJson

public static ExpressionV2 fromJson(JsonReader jsonReader)

Reads an instance of ExpressionV2 from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operands

public List<ExpressionV2> operands()

Get the operands property: List of nested expressions.

Returns:

the operands value.

operators

public List<String> operators()

Get the operators property: Expression operator value Type: list of strings.

Returns:

the operators value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public ExpressionV2Type type()

Get the type property: Type of expressions supported by the system. Type: string.

Returns:

the type value.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Value for Constant/Field Type: string.

Returns:

the value value.

withOperands

public ExpressionV2 withOperands(List<ExpressionV2> operands)

Set the operands property: List of nested expressions.

Parameters:

operands - the operands value to set.

Returns:

the ExpressionV2 object itself.

withOperators

public ExpressionV2 withOperators(List<String> operators)

Set the operators property: Expression operator value Type: list of strings.

Parameters:

operators - the operators value to set.

Returns:

the ExpressionV2 object itself.

withType

public ExpressionV2 withType(ExpressionV2Type type)

Set the type property: Type of expressions supported by the system. Type: string.

Parameters:

type - the type value to set.

Returns:

the ExpressionV2 object itself.

withValue

public ExpressionV2 withValue(String value)

Set the value property: Value for Constant/Field Type: string.

Parameters:

value - the value value to set.

Returns:

the ExpressionV2 object itself.

Applies to