Class RequiredPermissions
java.lang.Object
com.azure.resourcemanager.securityinsights.models.RequiredPermissions
Required permissions for the connector.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaction()
Get the action property: action permission.delete()
Get the delete property: delete permission.read()
Get the read property: read permission.void
validate()
Validates the instance.withAction
(Boolean action) Set the action property: action permission.withDelete
(Boolean delete) Set the delete property: delete permission.Set the read property: read permission.Set the write property: write permission.write()
Get the write property: write permission.
-
Constructor Details
-
RequiredPermissions
public RequiredPermissions()
-
-
Method Details
-
action
Get the action property: action permission.- Returns:
- the action value.
-
withAction
Set the action property: action permission.- Parameters:
action
- the action value to set.- Returns:
- the RequiredPermissions object itself.
-
write
Get the write property: write permission.- Returns:
- the write value.
-
withWrite
Set the write property: write permission.- Parameters:
write
- the write value to set.- Returns:
- the RequiredPermissions object itself.
-
read
Get the read property: read permission.- Returns:
- the read value.
-
withRead
Set the read property: read permission.- Parameters:
read
- the read value to set.- Returns:
- the RequiredPermissions object itself.
-
delete
Get the delete property: delete permission.- Returns:
- the delete value.
-
withDelete
Set the delete property: delete permission.- Parameters:
delete
- the delete value to set.- Returns:
- the RequiredPermissions object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-