Package com.oracle.bmc.datasafe.model
Class DatabaseTableAccessEntrySummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.DatabaseTableAccessEntrySummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class DatabaseTableAccessEntrySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of DatabaseTableAccessEntry Object.
Note: Objects should always be created or deserialized using theDatabaseTableAccessEntrySummary.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theDatabaseTableAccessEntrySummary.Builder
, which maintain a set of all explicitly set fields calledDatabaseTableAccessEntrySummary.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DatabaseTableAccessEntrySummary.Builder
-
Constructor Summary
Constructors Constructor Description DatabaseTableAccessEntrySummary(String key, String grantee, String grantFromRole, AccessType accessType, String tableSchema, String tableName, String privilegeType, String targetId, String accessThroughObject, PrivilegeName privilege, PrivilegeGrantableOption privilegeGrantable, String columnName, String grantor, Boolean areAllTablesAccessible, Boolean isAccessConstrainedByView, Boolean isAccessConstrainedByLabelSecurity, Boolean isAccessConstrainedByDatabaseVault, Boolean isAccessConstrainedByVirtualPrivateDatabase, Boolean isAccessConstrainedByRedaction, Boolean isAccessConstrainedByRealApplicationSecurity, Boolean isAccessConstrainedBySqlFirewall, Boolean isSensitive)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseTableAccessEntrySummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAccessThroughObject()
A non-null value in this field indicates the object through which user has access to table, possible values could be table or view.AccessType
getAccessType()
The type of the access the user has on the table, there can be one or more from SELECT, UPDATE, INSERT, OWNER or DELETE.Boolean
getAreAllTablesAccessible()
Indicates whether the user has access to all the tables in the schema.String
getColumnName()
If there are column level privileges on a table or view.String
getGrantee()
Grantee is the user who can access the tableString
getGrantFromRole()
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.String
getGrantor()
The one who granted this privilege.Boolean
getIsAccessConstrainedByDatabaseVault()
Indicates whether the table access is constrained via Oracle Database Vault.Boolean
getIsAccessConstrainedByLabelSecurity()
Indicates whether the table access is constrained via Oracle Label Security.Boolean
getIsAccessConstrainedByRealApplicationSecurity()
Indicates whether the table access is constrained via Real Application Security.Boolean
getIsAccessConstrainedByRedaction()
Indicates whether the table access is constrained via Oracle Data Redaction.Boolean
getIsAccessConstrainedBySqlFirewall()
Indicates whether the table access is constrained via Oracle Database SQL Firewall.Boolean
getIsAccessConstrainedByView()
Indicates whether the access is constrained on a table via a view.Boolean
getIsAccessConstrainedByVirtualPrivateDatabase()
Indicates whether the table access is constrained via Virtual Private Database.Boolean
getIsSensitive()
Indicates whether the table is marked as sensitive.String
getKey()
The unique key that identifies the table access report.PrivilegeName
getPrivilege()
Name of the privilege.PrivilegeGrantableOption
getPrivilegeGrantable()
Whether grantee can grant this privilege to other users.String
getPrivilegeType()
Type of the privilege user has, this includes System Privilege, Schema Privilege, Object Privilege, Column Privilege, Owner or Schema Privilege on a schema.String
getTableName()
Name of the database table the user has access to.String
getTableSchema()
Name of the schema the table belongs to.String
getTargetId()
The OCID of the of the target database.int
hashCode()
DatabaseTableAccessEntrySummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
DatabaseTableAccessEntrySummary
@Deprecated @ConstructorProperties({"key","grantee","grantFromRole","accessType","tableSchema","tableName","privilegeType","targetId","accessThroughObject","privilege","privilegeGrantable","columnName","grantor","areAllTablesAccessible","isAccessConstrainedByView","isAccessConstrainedByLabelSecurity","isAccessConstrainedByDatabaseVault","isAccessConstrainedByVirtualPrivateDatabase","isAccessConstrainedByRedaction","isAccessConstrainedByRealApplicationSecurity","isAccessConstrainedBySqlFirewall","isSensitive"}) public DatabaseTableAccessEntrySummary(String key, String grantee, String grantFromRole, AccessType accessType, String tableSchema, String tableName, String privilegeType, String targetId, String accessThroughObject, PrivilegeName privilege, PrivilegeGrantableOption privilegeGrantable, String columnName, String grantor, Boolean areAllTablesAccessible, Boolean isAccessConstrainedByView, Boolean isAccessConstrainedByLabelSecurity, Boolean isAccessConstrainedByDatabaseVault, Boolean isAccessConstrainedByVirtualPrivateDatabase, Boolean isAccessConstrainedByRedaction, Boolean isAccessConstrainedByRealApplicationSecurity, Boolean isAccessConstrainedBySqlFirewall, Boolean isSensitive)
Deprecated.
-
-
Method Detail
-
builder
public static DatabaseTableAccessEntrySummary.Builder builder()
Create a new builder.
-
toBuilder
public DatabaseTableAccessEntrySummary.Builder toBuilder()
-
getKey
public String getKey()
The unique key that identifies the table access report.It is numeric and unique within a security policy report.
- Returns:
- the value
-
getGrantee
public String getGrantee()
Grantee is the user who can access the table- Returns:
- the value
-
getGrantFromRole
public String getGrantFromRole()
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.- Returns:
- the value
-
getAccessType
public AccessType getAccessType()
The type of the access the user has on the table, there can be one or more from SELECT, UPDATE, INSERT, OWNER or DELETE.- Returns:
- the value
-
getTableSchema
public String getTableSchema()
Name of the schema the table belongs to.- Returns:
- the value
-
getTableName
public String getTableName()
Name of the database table the user has access to.- Returns:
- the value
-
getPrivilegeType
public String getPrivilegeType()
Type of the privilege user has, this includes System Privilege, Schema Privilege, Object Privilege, Column Privilege, Owner or Schema Privilege on a schema.- Returns:
- the value
-
getTargetId
public String getTargetId()
The OCID of the of the target database.- Returns:
- the value
-
getAccessThroughObject
public String getAccessThroughObject()
A non-null value in this field indicates the object through which user has access to table, possible values could be table or view.- Returns:
- the value
-
getPrivilege
public PrivilegeName getPrivilege()
Name of the privilege.- Returns:
- the value
-
getPrivilegeGrantable
public PrivilegeGrantableOption getPrivilegeGrantable()
Whether grantee can grant this privilege to other users.Privileges can be granted to a user or role with GRANT_OPTION or ADMIN_OPTION
- Returns:
- the value
-
getColumnName
public String getColumnName()
If there are column level privileges on a table or view.- Returns:
- the value
-
getGrantor
public String getGrantor()
The one who granted this privilege.- Returns:
- the value
-
getAreAllTablesAccessible
public Boolean getAreAllTablesAccessible()
Indicates whether the user has access to all the tables in the schema.- Returns:
- the value
-
getIsAccessConstrainedByView
public Boolean getIsAccessConstrainedByView()
Indicates whether the access is constrained on a table via a view.- Returns:
- the value
-
getIsAccessConstrainedByLabelSecurity
public Boolean getIsAccessConstrainedByLabelSecurity()
Indicates whether the table access is constrained via Oracle Label Security.- Returns:
- the value
-
getIsAccessConstrainedByDatabaseVault
public Boolean getIsAccessConstrainedByDatabaseVault()
Indicates whether the table access is constrained via Oracle Database Vault.- Returns:
- the value
-
getIsAccessConstrainedByVirtualPrivateDatabase
public Boolean getIsAccessConstrainedByVirtualPrivateDatabase()
Indicates whether the table access is constrained via Virtual Private Database.- Returns:
- the value
-
getIsAccessConstrainedByRedaction
public Boolean getIsAccessConstrainedByRedaction()
Indicates whether the table access is constrained via Oracle Data Redaction.- Returns:
- the value
-
getIsAccessConstrainedByRealApplicationSecurity
public Boolean getIsAccessConstrainedByRealApplicationSecurity()
Indicates whether the table access is constrained via Real Application Security.- Returns:
- the value
-
getIsAccessConstrainedBySqlFirewall
public Boolean getIsAccessConstrainedBySqlFirewall()
Indicates whether the table access is constrained via Oracle Database SQL Firewall.- Returns:
- the value
-
getIsSensitive
public Boolean getIsSensitive()
Indicates whether the table is marked as sensitive.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-