Class MicrosoftGraphWorkbookWorksheetProtectionOptions
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookWorksheetProtectionOptions
workbookWorksheetProtectionOptions.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphWorkbookWorksheetProtectionOptions class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: workbookWorksheetProtectionOptions.Get the allowAutoFilter property: Represents the worksheet protection option of allowing using auto filter feature.Get the allowDeleteColumns property: Represents the worksheet protection option of allowing deleting columns.Get the allowDeleteRows property: Represents the worksheet protection option of allowing deleting rows.Get the allowFormatCells property: Represents the worksheet protection option of allowing formatting cells.Get the allowFormatColumns property: Represents the worksheet protection option of allowing formatting columns.Get the allowFormatRows property: Represents the worksheet protection option of allowing formatting rows.Get the allowInsertColumns property: Represents the worksheet protection option of allowing inserting columns.Get the allowInsertHyperlinks property: Represents the worksheet protection option of allowing inserting hyperlinks.Get the allowInsertRows property: Represents the worksheet protection option of allowing inserting rows.Get the allowPivotTables property: Represents the worksheet protection option of allowing using pivot table feature.Get the allowSort property: Represents the worksheet protection option of allowing using sort feature.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: workbookWorksheetProtectionOptions.withAllowAutoFilter(Boolean allowAutoFilter) Set the allowAutoFilter property: Represents the worksheet protection option of allowing using auto filter feature.withAllowDeleteColumns(Boolean allowDeleteColumns) Set the allowDeleteColumns property: Represents the worksheet protection option of allowing deleting columns.withAllowDeleteRows(Boolean allowDeleteRows) Set the allowDeleteRows property: Represents the worksheet protection option of allowing deleting rows.withAllowFormatCells(Boolean allowFormatCells) Set the allowFormatCells property: Represents the worksheet protection option of allowing formatting cells.withAllowFormatColumns(Boolean allowFormatColumns) Set the allowFormatColumns property: Represents the worksheet protection option of allowing formatting columns.withAllowFormatRows(Boolean allowFormatRows) Set the allowFormatRows property: Represents the worksheet protection option of allowing formatting rows.withAllowInsertColumns(Boolean allowInsertColumns) Set the allowInsertColumns property: Represents the worksheet protection option of allowing inserting columns.withAllowInsertHyperlinks(Boolean allowInsertHyperlinks) Set the allowInsertHyperlinks property: Represents the worksheet protection option of allowing inserting hyperlinks.withAllowInsertRows(Boolean allowInsertRows) Set the allowInsertRows property: Represents the worksheet protection option of allowing inserting rows.withAllowPivotTables(Boolean allowPivotTables) Set the allowPivotTables property: Represents the worksheet protection option of allowing using pivot table feature.withAllowSort(Boolean allowSort) Set the allowSort property: Represents the worksheet protection option of allowing using sort feature.
-
Constructor Details
-
MicrosoftGraphWorkbookWorksheetProtectionOptions
public MicrosoftGraphWorkbookWorksheetProtectionOptions()Creates an instance of MicrosoftGraphWorkbookWorksheetProtectionOptions class.
-
-
Method Details
-
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
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
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
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
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
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
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
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
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
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
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
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.
-