Class MicrosoftGraphChoiceColumn

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChoiceColumn

public final class MicrosoftGraphChoiceColumn extends Object
choiceColumn.
  • Constructor Details

    • MicrosoftGraphChoiceColumn

      public MicrosoftGraphChoiceColumn()
      Creates an instance of MicrosoftGraphChoiceColumn class.
  • Method Details

    • allowTextEntry

      public Boolean allowTextEntry()
      Get the allowTextEntry property: If true, allows custom values that aren't in the configured choices.
      Returns:
      the allowTextEntry value.
    • withAllowTextEntry

      public MicrosoftGraphChoiceColumn withAllowTextEntry(Boolean allowTextEntry)
      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

      public List<String> choices()
      Get the choices property: The list of values available for this column.
      Returns:
      the choices value.
    • withChoices

      public MicrosoftGraphChoiceColumn withChoices(List<String> choices)
      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

      public String 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

      public MicrosoftGraphChoiceColumn withDisplayAs(String displayAs)
      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

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: choiceColumn.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphChoiceColumn withAdditionalProperties(Map<String,Object> additionalProperties)
      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.