Class MicrosoftGraphCalculatedColumn
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphCalculatedColumn
calculatedColumn.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphCalculatedColumn class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: calculatedColumn.format()Get the format property: For dateTime output types, the format of the value.formula()Get the formula property: The formula used to compute the value for this column.Get the outputType property: The output type used to format values in this column.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: calculatedColumn.withFormat(String format) Set the format property: For dateTime output types, the format of the value.withFormula(String formula) Set the formula property: The formula used to compute the value for this column.withOutputType(String outputType) Set the outputType property: The output type used to format values in this column.
-
Constructor Details
-
MicrosoftGraphCalculatedColumn
public MicrosoftGraphCalculatedColumn()Creates an instance of MicrosoftGraphCalculatedColumn class.
-
-
Method Details
-
format
Get the format property: For dateTime output types, the format of the value. Must be one of dateOnly or dateTime.- Returns:
- the format value.
-
withFormat
Set the format property: For dateTime output types, the format of the value. Must be one of dateOnly or dateTime.- Parameters:
format- the format value to set.- Returns:
- the MicrosoftGraphCalculatedColumn object itself.
-
formula
Get the formula property: The formula used to compute the value for this column.- Returns:
- the formula value.
-
withFormula
Set the formula property: The formula used to compute the value for this column.- Parameters:
formula- the formula value to set.- Returns:
- the MicrosoftGraphCalculatedColumn object itself.
-
outputType
Get the outputType property: The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text.- Returns:
- the outputType value.
-
withOutputType
Set the outputType property: The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text.- Parameters:
outputType- the outputType value to set.- Returns:
- the MicrosoftGraphCalculatedColumn object itself.
-
additionalProperties
Get the additionalProperties property: calculatedColumn.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphCalculatedColumn withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: calculatedColumn.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphCalculatedColumn object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-