Class MicrosoftGraphWorkbookWorksheetProtection
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookWorksheetProtection
workbookWorksheetProtection.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphWorkbookWorksheetProtection class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: workbookWorksheetProtection.options()Get the options property: workbookWorksheetProtectionOptions.Get the protectedProperty property: Indicates if the worksheet is protected.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: workbookWorksheetProtection.Set the id property: Read-only.Set the options property: workbookWorksheetProtectionOptions.withProtectedProperty(Boolean protectedProperty) Set the protectedProperty property: Indicates if the worksheet is protected.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphWorkbookWorksheetProtection
public MicrosoftGraphWorkbookWorksheetProtection()Creates an instance of MicrosoftGraphWorkbookWorksheetProtection class.
-
-
Method Details
-
options
Get the options property: workbookWorksheetProtectionOptions.- Returns:
- the options value.
-
withOptions
public MicrosoftGraphWorkbookWorksheetProtection withOptions(MicrosoftGraphWorkbookWorksheetProtectionOptions options) Set the options property: workbookWorksheetProtectionOptions.- Parameters:
options- the options value to set.- Returns:
- the MicrosoftGraphWorkbookWorksheetProtection object itself.
-
protectedProperty
Get the protectedProperty property: Indicates if the worksheet is protected. Read-only.- Returns:
- the protectedProperty value.
-
withProtectedProperty
Set the protectedProperty property: Indicates if the worksheet is protected. Read-only.- Parameters:
protectedProperty- the protectedProperty value to set.- Returns:
- the MicrosoftGraphWorkbookWorksheetProtection object itself.
-
additionalProperties
Get the additionalProperties property: workbookWorksheetProtection.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkbookWorksheetProtection withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: workbookWorksheetProtection.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphWorkbookWorksheetProtection object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-