Class MicrosoftGraphWorkbookWorksheetProtectionOptions

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

public final class MicrosoftGraphWorkbookWorksheetProtectionOptions extends Object
workbookWorksheetProtectionOptions.
  • Constructor Details

    • MicrosoftGraphWorkbookWorksheetProtectionOptions

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

    • allowAutoFilter

      public Boolean allowAutoFilter()
      Get the allowAutoFilter property: Represents the worksheet protection option of allowing using auto filter feature.
      Returns:
      the allowAutoFilter value.
    • withAllowAutoFilter

      public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowAutoFilter(Boolean allowAutoFilter)
      Set the allowAutoFilter property: Represents the worksheet protection option of allowing using auto filter feature.
      Parameters:
      allowAutoFilter - the allowAutoFilter value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • allowDeleteColumns

      public Boolean allowDeleteColumns()
      Get the allowDeleteColumns property: Represents the worksheet protection option of allowing deleting columns.
      Returns:
      the allowDeleteColumns value.
    • withAllowDeleteColumns

      public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowDeleteColumns(Boolean allowDeleteColumns)
      Set the allowDeleteColumns property: Represents the worksheet protection option of allowing deleting columns.
      Parameters:
      allowDeleteColumns - the allowDeleteColumns value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • allowDeleteRows

      public Boolean allowDeleteRows()
      Get the allowDeleteRows property: Represents the worksheet protection option of allowing deleting rows.
      Returns:
      the allowDeleteRows value.
    • withAllowDeleteRows

      public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowDeleteRows(Boolean allowDeleteRows)
      Set the allowDeleteRows property: Represents the worksheet protection option of allowing deleting rows.
      Parameters:
      allowDeleteRows - the allowDeleteRows value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • allowFormatCells

      public Boolean allowFormatCells()
      Get the allowFormatCells property: Represents the worksheet protection option of allowing formatting cells.
      Returns:
      the allowFormatCells value.
    • withAllowFormatCells

      public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatCells(Boolean allowFormatCells)
      Set the allowFormatCells property: Represents the worksheet protection option of allowing formatting cells.
      Parameters:
      allowFormatCells - the allowFormatCells value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • allowFormatColumns

      public Boolean allowFormatColumns()
      Get the allowFormatColumns property: Represents the worksheet protection option of allowing formatting columns.
      Returns:
      the allowFormatColumns value.
    • withAllowFormatColumns

      public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatColumns(Boolean allowFormatColumns)
      Set the allowFormatColumns property: Represents the worksheet protection option of allowing formatting columns.
      Parameters:
      allowFormatColumns - the allowFormatColumns value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • allowFormatRows

      public Boolean allowFormatRows()
      Get the allowFormatRows property: Represents the worksheet protection option of allowing formatting rows.
      Returns:
      the allowFormatRows value.
    • withAllowFormatRows

      public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatRows(Boolean allowFormatRows)
      Set the allowFormatRows property: Represents the worksheet protection option of allowing formatting rows.
      Parameters:
      allowFormatRows - the allowFormatRows value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • allowInsertColumns

      public Boolean allowInsertColumns()
      Get the allowInsertColumns property: Represents the worksheet protection option of allowing inserting columns.
      Returns:
      the allowInsertColumns value.
    • withAllowInsertColumns

      public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertColumns(Boolean allowInsertColumns)
      Set the allowInsertColumns property: Represents the worksheet protection option of allowing inserting columns.
      Parameters:
      allowInsertColumns - the allowInsertColumns value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • allowInsertHyperlinks

      public Boolean allowInsertHyperlinks()
      Get the allowInsertHyperlinks property: Represents the worksheet protection option of allowing inserting hyperlinks.
      Returns:
      the allowInsertHyperlinks value.
    • withAllowInsertHyperlinks

      public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertHyperlinks(Boolean allowInsertHyperlinks)
      Set the allowInsertHyperlinks property: Represents the worksheet protection option of allowing inserting hyperlinks.
      Parameters:
      allowInsertHyperlinks - the allowInsertHyperlinks value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • allowInsertRows

      public Boolean allowInsertRows()
      Get the allowInsertRows property: Represents the worksheet protection option of allowing inserting rows.
      Returns:
      the allowInsertRows value.
    • withAllowInsertRows

      public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertRows(Boolean allowInsertRows)
      Set the allowInsertRows property: Represents the worksheet protection option of allowing inserting rows.
      Parameters:
      allowInsertRows - the allowInsertRows value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • allowPivotTables

      public Boolean allowPivotTables()
      Get the allowPivotTables property: Represents the worksheet protection option of allowing using pivot table feature.
      Returns:
      the allowPivotTables value.
    • withAllowPivotTables

      public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowPivotTables(Boolean allowPivotTables)
      Set the allowPivotTables property: Represents the worksheet protection option of allowing using pivot table feature.
      Parameters:
      allowPivotTables - the allowPivotTables value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • allowSort

      public Boolean allowSort()
      Get the allowSort property: Represents the worksheet protection option of allowing using sort feature.
      Returns:
      the allowSort value.
    • withAllowSort

      Set the allowSort property: Represents the worksheet protection option of allowing using sort feature.
      Parameters:
      allowSort - the allowSort value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • additionalProperties

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

      public MicrosoftGraphWorkbookWorksheetProtectionOptions withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: workbookWorksheetProtectionOptions.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.