Class MicrosoftGraphWorkbookWorksheetProtection
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookWorksheetProtection
-
public final class MicrosoftGraphWorkbookWorksheetProtection extends MicrosoftGraphEntity
workbookWorksheetProtection.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphWorkbookWorksheetProtection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: workbookWorksheetProtection.MicrosoftGraphWorkbookWorksheetProtectionOptionsoptions()Get the options property: workbookWorksheetProtectionOptions.BooleanprotectedProperty()Get the protectedProperty property: Indicates if the worksheet is protected.voidvalidate()Validates the instance.MicrosoftGraphWorkbookWorksheetProtectionwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: workbookWorksheetProtection.MicrosoftGraphWorkbookWorksheetProtectionwithId(String id)Set the id property: Read-only.MicrosoftGraphWorkbookWorksheetProtectionwithOptions(MicrosoftGraphWorkbookWorksheetProtectionOptions options)Set the options property: workbookWorksheetProtectionOptions.MicrosoftGraphWorkbookWorksheetProtectionwithProtectedProperty(Boolean protectedProperty)Set the protectedProperty property: Indicates if the worksheet is protected.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
options
public MicrosoftGraphWorkbookWorksheetProtectionOptions 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
public Boolean protectedProperty()
Get the protectedProperty property: Indicates if the worksheet is protected. Read-only.- Returns:
- the protectedProperty value.
-
withProtectedProperty
public MicrosoftGraphWorkbookWorksheetProtection withProtectedProperty(Boolean protectedProperty)
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
public Map<String,Object> 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
public MicrosoftGraphWorkbookWorksheetProtection withId(String id)
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.
-
-