public static class DatabaseTableAccessEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseTableAccessEntry.Builder |
accessThroughObject(String accessThroughObject)
A non-null value in this field indicates the object through which user has access to
table, possible values could be table or view.
|
DatabaseTableAccessEntry.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, OWNER or DELETE.
|
DatabaseTableAccessEntry.Builder |
areAllTablesAccessible(Boolean areAllTablesAccessible)
Indicates whether the user has access to all the tables in the schema.
|
DatabaseTableAccessEntry |
build() |
DatabaseTableAccessEntry.Builder |
columnName(String columnName)
If there are column level privileges on a table or view.
|
DatabaseTableAccessEntry.Builder |
copy(DatabaseTableAccessEntry model) |
DatabaseTableAccessEntry.Builder |
grantee(String grantee)
Grantee is the user who can access the table
|
DatabaseTableAccessEntry.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.
|
DatabaseTableAccessEntry.Builder |
grantor(String grantor)
The one who granted this privilege.
|
DatabaseTableAccessEntry.Builder |
isAccessConstrainedByDatabaseVault(Boolean isAccessConstrainedByDatabaseVault)
Indicates whether the table access is constrained via Oracle Database Vault.
|
DatabaseTableAccessEntry.Builder |
isAccessConstrainedByLabelSecurity(Boolean isAccessConstrainedByLabelSecurity)
Indicates whether the table access is constrained via Oracle Label Security.
|
DatabaseTableAccessEntry.Builder |
isAccessConstrainedByRealApplicationSecurity(Boolean isAccessConstrainedByRealApplicationSecurity)
Indicates whether the table access is constrained via Real Application Security.
|
DatabaseTableAccessEntry.Builder |
isAccessConstrainedByRedaction(Boolean isAccessConstrainedByRedaction)
Indicates whether the table access is constrained via Oracle Data Redaction.
|
DatabaseTableAccessEntry.Builder |
isAccessConstrainedBySqlFirewall(Boolean isAccessConstrainedBySqlFirewall)
Indicates whether the table access is constrained via Oracle Database SQL Firewall.
|
DatabaseTableAccessEntry.Builder |
isAccessConstrainedByView(Boolean isAccessConstrainedByView)
Indicates whether the access is constrained on a table via a view.
|
DatabaseTableAccessEntry.Builder |
isAccessConstrainedByVirtualPrivateDatabase(Boolean isAccessConstrainedByVirtualPrivateDatabase)
Indicates whether the table access is constrained via Virtual Private Database.
|
DatabaseTableAccessEntry.Builder |
isSensitive(Boolean isSensitive)
Indicates whether the table is marked as sensitive.
|
DatabaseTableAccessEntry.Builder |
key(String key)
The unique key that identifies the table access report.
|
DatabaseTableAccessEntry.Builder |
privilege(PrivilegeName privilege)
Name of the privilege.
|
DatabaseTableAccessEntry.Builder |
privilegeGrantable(PrivilegeGrantableOption privilegeGrantable)
Indicates whether the grantee can grant this privilege to other users.
|
DatabaseTableAccessEntry.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.
|
DatabaseTableAccessEntry.Builder |
tableName(String tableName)
The name of the database table the user has access to.
|
DatabaseTableAccessEntry.Builder |
tableSchema(String tableSchema)
The name of the schema the table belongs to.
|
DatabaseTableAccessEntry.Builder |
targetId(String targetId)
The OCID of the of the target database.
|
public DatabaseTableAccessEntry.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 DatabaseTableAccessEntry.Builder grantee(String grantee)
Grantee is the user who can access the table
grantee
- the value to setpublic DatabaseTableAccessEntry.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, OWNER or DELETE.
accessType
- the value to setpublic DatabaseTableAccessEntry.Builder tableSchema(String tableSchema)
The name of the schema the table belongs to.
tableSchema
- the value to setpublic DatabaseTableAccessEntry.Builder tableName(String tableName)
The name of the database table the user has access to.
tableName
- the value to setpublic DatabaseTableAccessEntry.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 DatabaseTableAccessEntry.Builder targetId(String targetId)
The OCID of the of the target database.
targetId
- the value to setpublic DatabaseTableAccessEntry.Builder privilege(PrivilegeName privilege)
Name of the privilege.
privilege
- the value to setpublic DatabaseTableAccessEntry.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 DatabaseTableAccessEntry.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 DatabaseTableAccessEntry.Builder accessThroughObject(String accessThroughObject)
A non-null value in this field indicates the object through which user has access to table, possible values could be table or view.
accessThroughObject
- the value to setpublic DatabaseTableAccessEntry.Builder columnName(String columnName)
If there are column level privileges on a table or view.
columnName
- the value to setpublic DatabaseTableAccessEntry.Builder grantor(String grantor)
The one who granted this privilege.
grantor
- the value to setpublic DatabaseTableAccessEntry.Builder areAllTablesAccessible(Boolean areAllTablesAccessible)
Indicates whether the user has access to all the tables in the schema.
areAllTablesAccessible
- the value to setpublic DatabaseTableAccessEntry.Builder isAccessConstrainedByView(Boolean isAccessConstrainedByView)
Indicates whether the access is constrained on a table via a view.
isAccessConstrainedByView
- the value to setpublic DatabaseTableAccessEntry.Builder isAccessConstrainedByLabelSecurity(Boolean isAccessConstrainedByLabelSecurity)
Indicates whether the table access is constrained via Oracle Label Security.
isAccessConstrainedByLabelSecurity
- the value to setpublic DatabaseTableAccessEntry.Builder isAccessConstrainedByDatabaseVault(Boolean isAccessConstrainedByDatabaseVault)
Indicates whether the table access is constrained via Oracle Database Vault.
isAccessConstrainedByDatabaseVault
- the value to setpublic DatabaseTableAccessEntry.Builder isAccessConstrainedByVirtualPrivateDatabase(Boolean isAccessConstrainedByVirtualPrivateDatabase)
Indicates whether the table access is constrained via Virtual Private Database.
isAccessConstrainedByVirtualPrivateDatabase
- the value to setpublic DatabaseTableAccessEntry.Builder isAccessConstrainedByRedaction(Boolean isAccessConstrainedByRedaction)
Indicates whether the table access is constrained via Oracle Data Redaction.
isAccessConstrainedByRedaction
- the value to setpublic DatabaseTableAccessEntry.Builder isAccessConstrainedByRealApplicationSecurity(Boolean isAccessConstrainedByRealApplicationSecurity)
Indicates whether the table access is constrained via Real Application Security.
isAccessConstrainedByRealApplicationSecurity
- the value to setpublic DatabaseTableAccessEntry.Builder isAccessConstrainedBySqlFirewall(Boolean isAccessConstrainedBySqlFirewall)
Indicates whether the table access is constrained via Oracle Database SQL Firewall.
isAccessConstrainedBySqlFirewall
- the value to setpublic DatabaseTableAccessEntry.Builder isSensitive(Boolean isSensitive)
Indicates whether the table is marked as sensitive.
isSensitive
- the value to setpublic DatabaseTableAccessEntry build()
public DatabaseTableAccessEntry.Builder copy(DatabaseTableAccessEntry model)
Copyright © 2016–2024. All rights reserved.