Package com.oracle.bmc.datasafe.model
Class DatabaseTableAccessEntry.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.DatabaseTableAccessEntry.Builder
 
- 
- Enclosing class:
- DatabaseTableAccessEntry
 
 public static class DatabaseTableAccessEntry.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseTableAccessEntry.BuilderaccessThroughObject(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.BuilderaccessType(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.BuilderareAllTablesAccessible(Boolean areAllTablesAccessible)Indicates whether the user has access to all the tables in the schema.DatabaseTableAccessEntrybuild()DatabaseTableAccessEntry.BuildercolumnName(String columnName)If there are column level privileges on a table or view.DatabaseTableAccessEntry.Buildercopy(DatabaseTableAccessEntry model)DatabaseTableAccessEntry.Buildergrantee(String grantee)Grantee is the user who can access the tableDatabaseTableAccessEntry.BuildergrantFromRole(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.Buildergrantor(String grantor)The one who granted this privilege.DatabaseTableAccessEntry.BuilderisAccessConstrainedByDatabaseVault(Boolean isAccessConstrainedByDatabaseVault)Indicates whether the table access is constrained via Oracle Database Vault.DatabaseTableAccessEntry.BuilderisAccessConstrainedByLabelSecurity(Boolean isAccessConstrainedByLabelSecurity)Indicates whether the table access is constrained via Oracle Label Security.DatabaseTableAccessEntry.BuilderisAccessConstrainedByRealApplicationSecurity(Boolean isAccessConstrainedByRealApplicationSecurity)Indicates whether the table access is constrained via Real Application Security.DatabaseTableAccessEntry.BuilderisAccessConstrainedByRedaction(Boolean isAccessConstrainedByRedaction)Indicates whether the table access is constrained via Oracle Data Redaction.DatabaseTableAccessEntry.BuilderisAccessConstrainedBySqlFirewall(Boolean isAccessConstrainedBySqlFirewall)Indicates whether the table access is constrained via Oracle Database SQL Firewall.DatabaseTableAccessEntry.BuilderisAccessConstrainedByView(Boolean isAccessConstrainedByView)Indicates whether the access is constrained on a table via a view.DatabaseTableAccessEntry.BuilderisAccessConstrainedByVirtualPrivateDatabase(Boolean isAccessConstrainedByVirtualPrivateDatabase)Indicates whether the table access is constrained via Virtual Private Database.DatabaseTableAccessEntry.BuilderisSensitive(Boolean isSensitive)Indicates whether the table is marked as sensitive.DatabaseTableAccessEntry.Builderkey(String key)The unique key that identifies the table access report.DatabaseTableAccessEntry.Builderprivilege(PrivilegeName privilege)Name of the privilege.DatabaseTableAccessEntry.BuilderprivilegeGrantable(PrivilegeGrantableOption privilegeGrantable)Indicates whether the grantee can grant this privilege to other users.DatabaseTableAccessEntry.BuilderprivilegeType(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.BuildertableName(String tableName)The name of the database table the user has access to.DatabaseTableAccessEntry.BuildertableSchema(String tableSchema)The name of the schema the table belongs to.DatabaseTableAccessEntry.BuildertargetId(String targetId)The OCID of the of the target database.
 
- 
- 
- 
Method Detail- 
keypublic DatabaseTableAccessEntry.Builder key(String key) The unique key that identifies the table access report.It is numeric and unique within a security policy report. - Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
granteepublic DatabaseTableAccessEntry.Builder grantee(String grantee) Grantee is the user who can access the table- Parameters:
- grantee- the value to set
- Returns:
- this builder
 
 - 
accessTypepublic 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.- Parameters:
- accessType- the value to set
- Returns:
- this builder
 
 - 
tableSchemapublic DatabaseTableAccessEntry.Builder tableSchema(String tableSchema) The name of the schema the table belongs to.- Parameters:
- tableSchema- the value to set
- Returns:
- this builder
 
 - 
tableNamepublic DatabaseTableAccessEntry.Builder tableName(String tableName) The name of the database table the user has access to.- Parameters:
- tableName- the value to set
- Returns:
- this builder
 
 - 
privilegeTypepublic 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.- Parameters:
- privilegeType- the value to set
- Returns:
- this builder
 
 - 
targetIdpublic DatabaseTableAccessEntry.Builder targetId(String targetId) The OCID of the of the target database.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
privilegepublic DatabaseTableAccessEntry.Builder privilege(PrivilegeName privilege) Name of the privilege.- Parameters:
- privilege- the value to set
- Returns:
- this builder
 
 - 
privilegeGrantablepublic 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 - Parameters:
- privilegeGrantable- the value to set
- Returns:
- this builder
 
 - 
grantFromRolepublic 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.- Parameters:
- grantFromRole- the value to set
- Returns:
- this builder
 
 - 
accessThroughObjectpublic 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.- Parameters:
- accessThroughObject- the value to set
- Returns:
- this builder
 
 - 
columnNamepublic DatabaseTableAccessEntry.Builder columnName(String columnName) If there are column level privileges on a table or view.- Parameters:
- columnName- the value to set
- Returns:
- this builder
 
 - 
grantorpublic DatabaseTableAccessEntry.Builder grantor(String grantor) The one who granted this privilege.- Parameters:
- grantor- the value to set
- Returns:
- this builder
 
 - 
areAllTablesAccessiblepublic DatabaseTableAccessEntry.Builder areAllTablesAccessible(Boolean areAllTablesAccessible) Indicates whether the user has access to all the tables in the schema.- Parameters:
- areAllTablesAccessible- the value to set
- Returns:
- this builder
 
 - 
isAccessConstrainedByViewpublic DatabaseTableAccessEntry.Builder isAccessConstrainedByView(Boolean isAccessConstrainedByView) Indicates whether the access is constrained on a table via a view.- Parameters:
- isAccessConstrainedByView- the value to set
- Returns:
- this builder
 
 - 
isAccessConstrainedByLabelSecuritypublic DatabaseTableAccessEntry.Builder isAccessConstrainedByLabelSecurity(Boolean isAccessConstrainedByLabelSecurity) Indicates whether the table access is constrained via Oracle Label Security.- Parameters:
- isAccessConstrainedByLabelSecurity- the value to set
- Returns:
- this builder
 
 - 
isAccessConstrainedByDatabaseVaultpublic DatabaseTableAccessEntry.Builder isAccessConstrainedByDatabaseVault(Boolean isAccessConstrainedByDatabaseVault) Indicates whether the table access is constrained via Oracle Database Vault.- Parameters:
- isAccessConstrainedByDatabaseVault- the value to set
- Returns:
- this builder
 
 - 
isAccessConstrainedByVirtualPrivateDatabasepublic DatabaseTableAccessEntry.Builder isAccessConstrainedByVirtualPrivateDatabase(Boolean isAccessConstrainedByVirtualPrivateDatabase) Indicates whether the table access is constrained via Virtual Private Database.- Parameters:
- isAccessConstrainedByVirtualPrivateDatabase- the value to set
- Returns:
- this builder
 
 - 
isAccessConstrainedByRedactionpublic DatabaseTableAccessEntry.Builder isAccessConstrainedByRedaction(Boolean isAccessConstrainedByRedaction) Indicates whether the table access is constrained via Oracle Data Redaction.- Parameters:
- isAccessConstrainedByRedaction- the value to set
- Returns:
- this builder
 
 - 
isAccessConstrainedByRealApplicationSecuritypublic DatabaseTableAccessEntry.Builder isAccessConstrainedByRealApplicationSecurity(Boolean isAccessConstrainedByRealApplicationSecurity) Indicates whether the table access is constrained via Real Application Security.- Parameters:
- isAccessConstrainedByRealApplicationSecurity- the value to set
- Returns:
- this builder
 
 - 
isAccessConstrainedBySqlFirewallpublic DatabaseTableAccessEntry.Builder isAccessConstrainedBySqlFirewall(Boolean isAccessConstrainedBySqlFirewall) Indicates whether the table access is constrained via Oracle Database SQL Firewall.- Parameters:
- isAccessConstrainedBySqlFirewall- the value to set
- Returns:
- this builder
 
 - 
isSensitivepublic DatabaseTableAccessEntry.Builder isSensitive(Boolean isSensitive) Indicates whether the table is marked as sensitive.- Parameters:
- isSensitive- the value to set
- Returns:
- this builder
 
 - 
buildpublic DatabaseTableAccessEntry build() 
 - 
copypublic DatabaseTableAccessEntry.Builder copy(DatabaseTableAccessEntry model) 
 
- 
 
-