Class MicrosoftGraphChoiceColumn
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChoiceColumn
choiceColumn.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphChoiceColumn class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: choiceColumn.Get the allowTextEntry property: If true, allows custom values that aren't in the configured choices.choices()Get the choices property: The list of values available for this column.Get the displayAs property: How the choices are to be presented in the UX.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: choiceColumn.withAllowTextEntry(Boolean allowTextEntry) Set the allowTextEntry property: If true, allows custom values that aren't in the configured choices.withChoices(List<String> choices) Set the choices property: The list of values available for this column.withDisplayAs(String displayAs) Set the displayAs property: How the choices are to be presented in the UX.
-
Constructor Details
-
MicrosoftGraphChoiceColumn
public MicrosoftGraphChoiceColumn()Creates an instance of MicrosoftGraphChoiceColumn class.
-
-
Method Details
-
allowTextEntry
Get the allowTextEntry property: If true, allows custom values that aren't in the configured choices.- Returns:
- the allowTextEntry value.
-
withAllowTextEntry
Set the allowTextEntry property: If true, allows custom values that aren't in the configured choices.- Parameters:
allowTextEntry- the allowTextEntry value to set.- Returns:
- the MicrosoftGraphChoiceColumn object itself.
-
choices
Get the choices property: The list of values available for this column.- Returns:
- the choices value.
-
withChoices
Set the choices property: The list of values available for this column.- Parameters:
choices- the choices value to set.- Returns:
- the MicrosoftGraphChoiceColumn object itself.
-
displayAs
Get the displayAs property: How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons.- Returns:
- the displayAs value.
-
withDisplayAs
Set the displayAs property: How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons.- Parameters:
displayAs- the displayAs value to set.- Returns:
- the MicrosoftGraphChoiceColumn object itself.
-
additionalProperties
Get the additionalProperties property: choiceColumn.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: choiceColumn.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphChoiceColumn object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-