public static class DatabaseViewAccessEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseViewAccessEntry.Builder |
accessType(AccessType accessType)
The type of the access the user has on the table, there can be one or more from SELECT,
UPDATE, INSERT or DELETE.
|
DatabaseViewAccessEntry |
build() |
DatabaseViewAccessEntry.Builder |
columnName(String columnName)
If there are column level privileges on a table or view.
|
DatabaseViewAccessEntry.Builder |
copy(DatabaseViewAccessEntry model) |
DatabaseViewAccessEntry.Builder |
grantee(String grantee)
Grantee is the user who can access the table or view
|
DatabaseViewAccessEntry.Builder |
grantFromRole(String grantFromRole)
This can be empty in case of direct grant, in case of indirect grant, this attribute
displays the name of the role which is granted to the user though which the user has
access to the table.
|
DatabaseViewAccessEntry.Builder |
grantor(String grantor)
The user who granted the privilege.
|
DatabaseViewAccessEntry.Builder |
isAccessConstrainedByDatabaseVault(Boolean isAccessConstrainedByDatabaseVault)
Indicates whether the table access is constrained via Oracle Database Vault.
|
DatabaseViewAccessEntry.Builder |
isAccessConstrainedByRealApplicationSecurity(Boolean isAccessConstrainedByRealApplicationSecurity)
Indicates whether the view access is constrained via Real Application Security.
|
DatabaseViewAccessEntry.Builder |
isAccessConstrainedByRedaction(Boolean isAccessConstrainedByRedaction)
Indicates whether the view access is constrained via Oracle Data Redaction.
|
DatabaseViewAccessEntry.Builder |
isAccessConstrainedBySqlFirewall(Boolean isAccessConstrainedBySqlFirewall)
Indicates whether the view access is constrained via Oracle Database SQL Firewall.
|
DatabaseViewAccessEntry.Builder |
isAccessConstrainedByVirtualPrivateDatabase(Boolean isAccessConstrainedByVirtualPrivateDatabase)
Indicates whether the view access is constrained via Virtual Private Database.
|
DatabaseViewAccessEntry.Builder |
key(String key)
The unique key that identifies the table access report.
|
DatabaseViewAccessEntry.Builder |
privilege(PrivilegeName privilege)
The name of the privilege.
|
DatabaseViewAccessEntry.Builder |
privilegeGrantable(PrivilegeGrantableOption privilegeGrantable)
Indicates whether the grantee can grant this privilege to other users.
|
DatabaseViewAccessEntry.Builder |
privilegeType(String privilegeType)
Type of the privilege user has, this includes System Privilege, Schema Privilege, Object
Privilege, Column Privilege, Owner or Schema Privilege on a schema.
|
DatabaseViewAccessEntry.Builder |
tableName(String tableName)
The name of the database table the user has access to.
|
DatabaseViewAccessEntry.Builder |
tableSchema(String tableSchema)
The name of the schema the table belongs to.
|
DatabaseViewAccessEntry.Builder |
targetId(String targetId)
The OCID of the of the target database.
|
DatabaseViewAccessEntry.Builder |
viewName(String viewName)
The name of the view.
|
DatabaseViewAccessEntry.Builder |
viewSchema(String viewSchema)
The name of the schema.
|
DatabaseViewAccessEntry.Builder |
viewText(String viewText)
Definition of the view.
|
public DatabaseViewAccessEntry.Builder key(String key)
The unique key that identifies the table access report. It is numeric and unique within a security policy report.
key
- the value to setpublic DatabaseViewAccessEntry.Builder grantee(String grantee)
Grantee is the user who can access the table or view
grantee
- the value to setpublic DatabaseViewAccessEntry.Builder accessType(AccessType accessType)
The type of the access the user has on the table, there can be one or more from SELECT, UPDATE, INSERT or DELETE.
accessType
- the value to setpublic DatabaseViewAccessEntry.Builder tableSchema(String tableSchema)
The name of the schema the table belongs to.
tableSchema
- the value to setpublic DatabaseViewAccessEntry.Builder tableName(String tableName)
The name of the database table the user has access to.
tableName
- the value to setpublic DatabaseViewAccessEntry.Builder privilegeType(String privilegeType)
Type of the privilege user has, this includes System Privilege, Schema Privilege, Object Privilege, Column Privilege, Owner or Schema Privilege on a schema.
privilegeType
- the value to setpublic DatabaseViewAccessEntry.Builder targetId(String targetId)
The OCID of the of the target database.
targetId
- the value to setpublic DatabaseViewAccessEntry.Builder privilege(PrivilegeName privilege)
The name of the privilege.
privilege
- the value to setpublic DatabaseViewAccessEntry.Builder privilegeGrantable(PrivilegeGrantableOption privilegeGrantable)
Indicates whether the grantee can grant this privilege to other users. Privileges can be granted to a user or role with GRANT_OPTION or ADMIN_OPTION
privilegeGrantable
- the value to setpublic DatabaseViewAccessEntry.Builder grantFromRole(String grantFromRole)
This can be empty in case of direct grant, in case of indirect grant, this attribute displays the name of the role which is granted to the user though which the user has access to the table.
grantFromRole
- the value to setpublic DatabaseViewAccessEntry.Builder viewSchema(String viewSchema)
The name of the schema.
viewSchema
- the value to setpublic DatabaseViewAccessEntry.Builder viewName(String viewName)
The name of the view.
viewName
- the value to setpublic DatabaseViewAccessEntry.Builder viewText(String viewText)
Definition of the view.
viewText
- the value to setpublic DatabaseViewAccessEntry.Builder columnName(String columnName)
If there are column level privileges on a table or view.
columnName
- the value to setpublic DatabaseViewAccessEntry.Builder grantor(String grantor)
The user who granted the privilege.
grantor
- the value to setpublic DatabaseViewAccessEntry.Builder isAccessConstrainedByDatabaseVault(Boolean isAccessConstrainedByDatabaseVault)
Indicates whether the table access is constrained via Oracle Database Vault.
isAccessConstrainedByDatabaseVault
- the value to setpublic DatabaseViewAccessEntry.Builder isAccessConstrainedByVirtualPrivateDatabase(Boolean isAccessConstrainedByVirtualPrivateDatabase)
Indicates whether the view access is constrained via Virtual Private Database.
isAccessConstrainedByVirtualPrivateDatabase
- the value to setpublic DatabaseViewAccessEntry.Builder isAccessConstrainedByRedaction(Boolean isAccessConstrainedByRedaction)
Indicates whether the view access is constrained via Oracle Data Redaction.
isAccessConstrainedByRedaction
- the value to setpublic DatabaseViewAccessEntry.Builder isAccessConstrainedByRealApplicationSecurity(Boolean isAccessConstrainedByRealApplicationSecurity)
Indicates whether the view access is constrained via Real Application Security.
isAccessConstrainedByRealApplicationSecurity
- the value to setpublic DatabaseViewAccessEntry.Builder isAccessConstrainedBySqlFirewall(Boolean isAccessConstrainedBySqlFirewall)
Indicates whether the view access is constrained via Oracle Database SQL Firewall.
isAccessConstrainedBySqlFirewall
- the value to setpublic DatabaseViewAccessEntry build()
public DatabaseViewAccessEntry.Builder copy(DatabaseViewAccessEntry model)
Copyright © 2016–2024. All rights reserved.