Expression Class

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

public class Expression

The expression.

Constructor Summary

Constructor Description
Expression()

Creates an instance of Expression class.

Method Summary

Modifier and Type Method and Description
AzureResourceErrorInfo error()

Get the error property: The azure resource error info.

List<Expression> subexpressions()

Get the subexpressions property: The sub expressions.

String text()

Get the text property: The text.

void validate()

Validates the instance.

Object value()

Get the value property: Anything.

Expression withError(AzureResourceErrorInfo error)

Set the error property: The azure resource error info.

Expression withSubexpressions(List<Expression> subexpressions)

Set the subexpressions property: The sub expressions.

Expression withText(String text)

Set the text property: The text.

Expression withValue(Object value)

Set the value property: Anything.

Methods inherited from java.lang.Object

Constructor Details

Expression

public Expression()

Creates an instance of Expression class.

Method Details

error

public AzureResourceErrorInfo error()

Get the error property: The azure resource error info.

Returns:

the error value.

subexpressions

public List subexpressions()

Get the subexpressions property: The sub expressions.

Returns:

the subexpressions value.

text

public String text()

Get the text property: The text.

Returns:

the text value.

validate

public void validate()

Validates the instance.

value

public Object value()

Get the value property: Anything.

Returns:

the value value.

withError

public Expression withError(AzureResourceErrorInfo error)

Set the error property: The azure resource error info.

Parameters:

error - the error value to set.

Returns:

the Expression object itself.

withSubexpressions

public Expression withSubexpressions(List subexpressions)

Set the subexpressions property: The sub expressions.

Parameters:

subexpressions - the subexpressions value to set.

Returns:

the Expression object itself.

withText

public Expression withText(String text)

Set the text property: The text.

Parameters:

text - the text value to set.

Returns:

the Expression object itself.

withValue

public Expression withValue(Object value)

Set the value property: Anything.

Parameters:

value - the value value to set.

Returns:

the Expression object itself.

Applies to