Package com.oracle.bmc.datasafe.model
Class DatabaseViewAccessEntry.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.DatabaseViewAccessEntry.Builder
 
- 
- Enclosing class:
- DatabaseViewAccessEntry
 
 public static class DatabaseViewAccessEntry.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseViewAccessEntry.BuilderaccessType(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.DatabaseViewAccessEntrybuild()DatabaseViewAccessEntry.BuildercolumnName(String columnName)If there are column level privileges on a table or view.DatabaseViewAccessEntry.Buildercopy(DatabaseViewAccessEntry model)DatabaseViewAccessEntry.Buildergrantee(String grantee)Grantee is the user who can access the table or viewDatabaseViewAccessEntry.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.DatabaseViewAccessEntry.Buildergrantor(String grantor)The user who granted the privilege.DatabaseViewAccessEntry.BuilderisAccessConstrainedByDatabaseVault(Boolean isAccessConstrainedByDatabaseVault)Indicates whether the table access is constrained via Oracle Database Vault.DatabaseViewAccessEntry.BuilderisAccessConstrainedByRealApplicationSecurity(Boolean isAccessConstrainedByRealApplicationSecurity)Indicates whether the view access is constrained via Real Application Security.DatabaseViewAccessEntry.BuilderisAccessConstrainedByRedaction(Boolean isAccessConstrainedByRedaction)Indicates whether the view access is constrained via Oracle Data Redaction.DatabaseViewAccessEntry.BuilderisAccessConstrainedBySqlFirewall(Boolean isAccessConstrainedBySqlFirewall)Indicates whether the view access is constrained via Oracle Database SQL Firewall.DatabaseViewAccessEntry.BuilderisAccessConstrainedByVirtualPrivateDatabase(Boolean isAccessConstrainedByVirtualPrivateDatabase)Indicates whether the view access is constrained via Virtual Private Database.DatabaseViewAccessEntry.Builderkey(String key)The unique key that identifies the table access report.DatabaseViewAccessEntry.Builderprivilege(PrivilegeName privilege)The name of the privilege.DatabaseViewAccessEntry.BuilderprivilegeGrantable(PrivilegeGrantableOption privilegeGrantable)Indicates whether the grantee can grant this privilege to other users.DatabaseViewAccessEntry.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.DatabaseViewAccessEntry.BuildertableName(String tableName)The name of the database table the user has access to.DatabaseViewAccessEntry.BuildertableSchema(String tableSchema)The name of the schema the table belongs to.DatabaseViewAccessEntry.BuildertargetId(String targetId)The OCID of the of the target database.DatabaseViewAccessEntry.BuilderviewName(String viewName)The name of the view.DatabaseViewAccessEntry.BuilderviewSchema(String viewSchema)The name of the schema.DatabaseViewAccessEntry.BuilderviewText(String viewText)Definition of the view.
 
- 
- 
- 
Method Detail- 
keypublic DatabaseViewAccessEntry.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 DatabaseViewAccessEntry.Builder grantee(String grantee) Grantee is the user who can access the table or view- Parameters:
- grantee- the value to set
- Returns:
- this builder
 
 - 
accessTypepublic 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.- Parameters:
- accessType- the value to set
- Returns:
- this builder
 
 - 
tableSchemapublic DatabaseViewAccessEntry.Builder tableSchema(String tableSchema) The name of the schema the table belongs to.- Parameters:
- tableSchema- the value to set
- Returns:
- this builder
 
 - 
tableNamepublic DatabaseViewAccessEntry.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 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.- Parameters:
- privilegeType- the value to set
- Returns:
- this builder
 
 - 
targetIdpublic DatabaseViewAccessEntry.Builder targetId(String targetId) The OCID of the of the target database.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
privilegepublic DatabaseViewAccessEntry.Builder privilege(PrivilegeName privilege) The name of the privilege.- Parameters:
- privilege- the value to set
- Returns:
- this builder
 
 - 
privilegeGrantablepublic 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 - Parameters:
- privilegeGrantable- the value to set
- Returns:
- this builder
 
 - 
grantFromRolepublic 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.- Parameters:
- grantFromRole- the value to set
- Returns:
- this builder
 
 - 
viewSchemapublic DatabaseViewAccessEntry.Builder viewSchema(String viewSchema) The name of the schema.- Parameters:
- viewSchema- the value to set
- Returns:
- this builder
 
 - 
viewNamepublic DatabaseViewAccessEntry.Builder viewName(String viewName) The name of the view.- Parameters:
- viewName- the value to set
- Returns:
- this builder
 
 - 
viewTextpublic DatabaseViewAccessEntry.Builder viewText(String viewText) Definition of the view.- Parameters:
- viewText- the value to set
- Returns:
- this builder
 
 - 
columnNamepublic DatabaseViewAccessEntry.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 DatabaseViewAccessEntry.Builder grantor(String grantor) The user who granted the privilege.- Parameters:
- grantor- the value to set
- Returns:
- this builder
 
 - 
isAccessConstrainedByDatabaseVaultpublic DatabaseViewAccessEntry.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 DatabaseViewAccessEntry.Builder isAccessConstrainedByVirtualPrivateDatabase(Boolean isAccessConstrainedByVirtualPrivateDatabase) Indicates whether the view access is constrained via Virtual Private Database.- Parameters:
- isAccessConstrainedByVirtualPrivateDatabase- the value to set
- Returns:
- this builder
 
 - 
isAccessConstrainedByRedactionpublic DatabaseViewAccessEntry.Builder isAccessConstrainedByRedaction(Boolean isAccessConstrainedByRedaction) Indicates whether the view access is constrained via Oracle Data Redaction.- Parameters:
- isAccessConstrainedByRedaction- the value to set
- Returns:
- this builder
 
 - 
isAccessConstrainedByRealApplicationSecuritypublic DatabaseViewAccessEntry.Builder isAccessConstrainedByRealApplicationSecurity(Boolean isAccessConstrainedByRealApplicationSecurity) Indicates whether the view access is constrained via Real Application Security.- Parameters:
- isAccessConstrainedByRealApplicationSecurity- the value to set
- Returns:
- this builder
 
 - 
isAccessConstrainedBySqlFirewallpublic DatabaseViewAccessEntry.Builder isAccessConstrainedBySqlFirewall(Boolean isAccessConstrainedBySqlFirewall) Indicates whether the view access is constrained via Oracle Database SQL Firewall.- Parameters:
- isAccessConstrainedBySqlFirewall- the value to set
- Returns:
- this builder
 
 - 
buildpublic DatabaseViewAccessEntry build() 
 - 
copypublic DatabaseViewAccessEntry.Builder copy(DatabaseViewAccessEntry model) 
 
- 
 
-