Class RequiredPermissions
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.RequiredPermissions
-
public final class RequiredPermissions extends Object
Required permissions for the connector.
-
-
Constructor Summary
Constructors Constructor Description RequiredPermissions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
action()
Get the action property: action permission.Boolean
delete()
Get the delete property: delete permission.Boolean
read()
Get the read property: read permission.void
validate()
Validates the instance.RequiredPermissions
withAction(Boolean action)
Set the action property: action permission.RequiredPermissions
withDelete(Boolean delete)
Set the delete property: delete permission.RequiredPermissions
withRead(Boolean read)
Set the read property: read permission.RequiredPermissions
withWrite(Boolean write)
Set the write property: write permission.Boolean
write()
Get the write property: write permission.
-
-
-
Method Detail
-
action
public Boolean action()
Get the action property: action permission.- Returns:
- the action value.
-
withAction
public RequiredPermissions withAction(Boolean action)
Set the action property: action permission.- Parameters:
action
- the action value to set.- Returns:
- the RequiredPermissions object itself.
-
write
public Boolean write()
Get the write property: write permission.- Returns:
- the write value.
-
withWrite
public RequiredPermissions withWrite(Boolean write)
Set the write property: write permission.- Parameters:
write
- the write value to set.- Returns:
- the RequiredPermissions object itself.
-
read
public Boolean read()
Get the read property: read permission.- Returns:
- the read value.
-
withRead
public RequiredPermissions withRead(Boolean read)
Set the read property: read permission.- Parameters:
read
- the read value to set.- Returns:
- the RequiredPermissions object itself.
-
delete
public Boolean delete()
Get the delete property: delete permission.- Returns:
- the delete value.
-
withDelete
public RequiredPermissions withDelete(Boolean delete)
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.
-
-