Package com.oracle.bmc.datasafe.model
Class DatabaseViewAccessEntrySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.DatabaseViewAccessEntrySummary.Builder
-
- Enclosing class:
- DatabaseViewAccessEntrySummary
public static class DatabaseViewAccessEntrySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseViewAccessEntrySummary.Builder
accessType(AccessType accessType)
The type of the access the user has on the table, there can be one or more from SELECT, DELETE, INSERT, READ or UPDATE.DatabaseViewAccessEntrySummary
build()
DatabaseViewAccessEntrySummary.Builder
columnName(String columnName)
The name of column when there are column level privileges on a table or view.DatabaseViewAccessEntrySummary.Builder
copy(DatabaseViewAccessEntrySummary model)
DatabaseViewAccessEntrySummary.Builder
grantee(String grantee)
Grantee is the user who can access the view.DatabaseViewAccessEntrySummary.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.DatabaseViewAccessEntrySummary.Builder
grantor(String grantor)
The user who granted the privilege.DatabaseViewAccessEntrySummary.Builder
isAccessConstrainedByDatabaseVault(Boolean isAccessConstrainedByDatabaseVault)
Indicates whether the table access is constrained via Oracle Database Vault.DatabaseViewAccessEntrySummary.Builder
isAccessConstrainedByRealApplicationSecurity(Boolean isAccessConstrainedByRealApplicationSecurity)
Indicates whether the view access is constrained via Real Application Security.DatabaseViewAccessEntrySummary.Builder
isAccessConstrainedByRedaction(Boolean isAccessConstrainedByRedaction)
Indicates whether the view access is constrained via Oracle Data Redaction.DatabaseViewAccessEntrySummary.Builder
isAccessConstrainedBySqlFirewall(Boolean isAccessConstrainedBySqlFirewall)
Indicates whether the view access is constrained via Oracle Database SQL Firewall.DatabaseViewAccessEntrySummary.Builder
isAccessConstrainedByVirtualPrivateDatabase(Boolean isAccessConstrainedByVirtualPrivateDatabase)
Indicates whether the view access is constrained via Virtual Private Database.DatabaseViewAccessEntrySummary.Builder
key(String key)
The unique key that identifies the view report.DatabaseViewAccessEntrySummary.Builder
privilege(PrivilegeName privilege)
The name of the privilege.DatabaseViewAccessEntrySummary.Builder
privilegeGrantable(PrivilegeGrantableOption privilegeGrantable)
Indicates whether the grantee can grant this privilege to other users.DatabaseViewAccessEntrySummary.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.DatabaseViewAccessEntrySummary.Builder
tableName(String tableName)
The name of the table.DatabaseViewAccessEntrySummary.Builder
tableSchema(String tableSchema)
The name of the schemaDatabaseViewAccessEntrySummary.Builder
targetId(String targetId)
The OCID of the of the target database.DatabaseViewAccessEntrySummary.Builder
viewName(String viewName)
The name of the view.DatabaseViewAccessEntrySummary.Builder
viewSchema(String viewSchema)
The name of the schema.DatabaseViewAccessEntrySummary.Builder
viewText(String viewText)
The definition of the view.
-
-
-
Method Detail
-
key
public DatabaseViewAccessEntrySummary.Builder key(String key)
The unique key that identifies the view report.It is numeric and unique within a security policy report.
- Parameters:
key
- the value to set- Returns:
- this builder
-
grantee
public DatabaseViewAccessEntrySummary.Builder grantee(String grantee)
Grantee is the user who can access the view.- Parameters:
grantee
- the value to set- Returns:
- this builder
-
grantFromRole
public DatabaseViewAccessEntrySummary.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
-
accessType
public DatabaseViewAccessEntrySummary.Builder accessType(AccessType accessType)
The type of the access the user has on the table, there can be one or more from SELECT, DELETE, INSERT, READ or UPDATE.- Parameters:
accessType
- the value to set- Returns:
- this builder
-
privilege
public DatabaseViewAccessEntrySummary.Builder privilege(PrivilegeName privilege)
The name of the privilege.- Parameters:
privilege
- the value to set- Returns:
- this builder
-
targetId
public DatabaseViewAccessEntrySummary.Builder targetId(String targetId)
The OCID of the of the target database.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
privilegeGrantable
public DatabaseViewAccessEntrySummary.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
-
privilegeType
public DatabaseViewAccessEntrySummary.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
-
tableSchema
public DatabaseViewAccessEntrySummary.Builder tableSchema(String tableSchema)
The name of the schema- Parameters:
tableSchema
- the value to set- Returns:
- this builder
-
tableName
public DatabaseViewAccessEntrySummary.Builder tableName(String tableName)
The name of the table.- Parameters:
tableName
- the value to set- Returns:
- this builder
-
viewSchema
public DatabaseViewAccessEntrySummary.Builder viewSchema(String viewSchema)
The name of the schema.- Parameters:
viewSchema
- the value to set- Returns:
- this builder
-
viewName
public DatabaseViewAccessEntrySummary.Builder viewName(String viewName)
The name of the view.- Parameters:
viewName
- the value to set- Returns:
- this builder
-
viewText
public DatabaseViewAccessEntrySummary.Builder viewText(String viewText)
The definition of the view.- Parameters:
viewText
- the value to set- Returns:
- this builder
-
columnName
public DatabaseViewAccessEntrySummary.Builder columnName(String columnName)
The name of column when there are column level privileges on a table or view.- Parameters:
columnName
- the value to set- Returns:
- this builder
-
grantor
public DatabaseViewAccessEntrySummary.Builder grantor(String grantor)
The user who granted the privilege.- Parameters:
grantor
- the value to set- Returns:
- this builder
-
isAccessConstrainedByDatabaseVault
public DatabaseViewAccessEntrySummary.Builder isAccessConstrainedByDatabaseVault(Boolean isAccessConstrainedByDatabaseVault)
Indicates whether the table access is constrained via Oracle Database Vault.- Parameters:
isAccessConstrainedByDatabaseVault
- the value to set- Returns:
- this builder
-
isAccessConstrainedByVirtualPrivateDatabase
public DatabaseViewAccessEntrySummary.Builder isAccessConstrainedByVirtualPrivateDatabase(Boolean isAccessConstrainedByVirtualPrivateDatabase)
Indicates whether the view access is constrained via Virtual Private Database.- Parameters:
isAccessConstrainedByVirtualPrivateDatabase
- the value to set- Returns:
- this builder
-
isAccessConstrainedByRedaction
public DatabaseViewAccessEntrySummary.Builder isAccessConstrainedByRedaction(Boolean isAccessConstrainedByRedaction)
Indicates whether the view access is constrained via Oracle Data Redaction.- Parameters:
isAccessConstrainedByRedaction
- the value to set- Returns:
- this builder
-
isAccessConstrainedByRealApplicationSecurity
public DatabaseViewAccessEntrySummary.Builder isAccessConstrainedByRealApplicationSecurity(Boolean isAccessConstrainedByRealApplicationSecurity)
Indicates whether the view access is constrained via Real Application Security.- Parameters:
isAccessConstrainedByRealApplicationSecurity
- the value to set- Returns:
- this builder
-
isAccessConstrainedBySqlFirewall
public DatabaseViewAccessEntrySummary.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
-
build
public DatabaseViewAccessEntrySummary build()
-
copy
public DatabaseViewAccessEntrySummary.Builder copy(DatabaseViewAccessEntrySummary model)
-
-