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.ExplicitlySetBmcModelSummary 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 SummaryNested Classes Modifier and Type Class Description static classDatabaseTableAccessEntrySummary.Builder
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseTableAccessEntrySummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAccessThroughObject()A non-null value in this field indicates the object through which user has access to table, possible values could be table or view.AccessTypegetAccessType()The type of the access the user has on the table, there can be one or more from SELECT, UPDATE, INSERT, OWNER or DELETE.BooleangetAreAllTablesAccessible()Indicates whether the user has access to all the tables in the schema.StringgetColumnName()If there are column level privileges on a table or view.StringgetGrantee()Grantee is the user who can access the tableStringgetGrantFromRole()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.StringgetGrantor()The one who granted this privilege.BooleangetIsAccessConstrainedByDatabaseVault()Indicates whether the table access is constrained via Oracle Database Vault.BooleangetIsAccessConstrainedByLabelSecurity()Indicates whether the table access is constrained via Oracle Label Security.BooleangetIsAccessConstrainedByRealApplicationSecurity()Indicates whether the table access is constrained via Real Application Security.BooleangetIsAccessConstrainedByRedaction()Indicates whether the table access is constrained via Oracle Data Redaction.BooleangetIsAccessConstrainedBySqlFirewall()Indicates whether the table access is constrained via Oracle Database SQL Firewall.BooleangetIsAccessConstrainedByView()Indicates whether the access is constrained on a table via a view.BooleangetIsAccessConstrainedByVirtualPrivateDatabase()Indicates whether the table access is constrained via Virtual Private Database.BooleangetIsSensitive()Indicates whether the table is marked as sensitive.StringgetKey()The unique key that identifies the table access report.PrivilegeNamegetPrivilege()Name of the privilege.PrivilegeGrantableOptiongetPrivilegeGrantable()Whether grantee can grant this privilege to other users.StringgetPrivilegeType()Type of the privilege user has, this includes System Privilege, Schema Privilege, Object Privilege, Column Privilege, Owner or Schema Privilege on a schema.StringgetTableName()Name of the database table the user has access to.StringgetTableSchema()Name of the schema the table belongs to.StringgetTargetId()The OCID of the of the target database.inthashCode()DatabaseTableAccessEntrySummary.BuildertoBuilder()StringtoString()StringtoString(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- 
builderpublic static DatabaseTableAccessEntrySummary.Builder builder() Create a new builder.
 - 
toBuilderpublic DatabaseTableAccessEntrySummary.Builder toBuilder() 
 - 
getKeypublic String getKey() The unique key that identifies the table access report.It is numeric and unique within a security policy report. - Returns:
- the value
 
 - 
getGranteepublic String getGrantee() Grantee is the user who can access the table- Returns:
- the value
 
 - 
getGrantFromRolepublic 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
 
 - 
getAccessTypepublic 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
 
 - 
getTableSchemapublic String getTableSchema() Name of the schema the table belongs to.- Returns:
- the value
 
 - 
getTableNamepublic String getTableName() Name of the database table the user has access to.- Returns:
- the value
 
 - 
getPrivilegeTypepublic 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
 
 - 
getTargetIdpublic String getTargetId() The OCID of the of the target database.- Returns:
- the value
 
 - 
getAccessThroughObjectpublic 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
 
 - 
getPrivilegepublic PrivilegeName getPrivilege() Name of the privilege.- Returns:
- the value
 
 - 
getPrivilegeGrantablepublic 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
 
 - 
getColumnNamepublic String getColumnName() If there are column level privileges on a table or view.- Returns:
- the value
 
 - 
getGrantorpublic String getGrantor() The one who granted this privilege.- Returns:
- the value
 
 - 
getAreAllTablesAccessiblepublic Boolean getAreAllTablesAccessible() Indicates whether the user has access to all the tables in the schema.- Returns:
- the value
 
 - 
getIsAccessConstrainedByViewpublic Boolean getIsAccessConstrainedByView() Indicates whether the access is constrained on a table via a view.- Returns:
- the value
 
 - 
getIsAccessConstrainedByLabelSecuritypublic Boolean getIsAccessConstrainedByLabelSecurity() Indicates whether the table access is constrained via Oracle Label Security.- Returns:
- the value
 
 - 
getIsAccessConstrainedByDatabaseVaultpublic Boolean getIsAccessConstrainedByDatabaseVault() Indicates whether the table access is constrained via Oracle Database Vault.- Returns:
- the value
 
 - 
getIsAccessConstrainedByVirtualPrivateDatabasepublic Boolean getIsAccessConstrainedByVirtualPrivateDatabase() Indicates whether the table access is constrained via Virtual Private Database.- Returns:
- the value
 
 - 
getIsAccessConstrainedByRedactionpublic Boolean getIsAccessConstrainedByRedaction() Indicates whether the table access is constrained via Oracle Data Redaction.- Returns:
- the value
 
 - 
getIsAccessConstrainedByRealApplicationSecuritypublic Boolean getIsAccessConstrainedByRealApplicationSecurity() Indicates whether the table access is constrained via Real Application Security.- Returns:
- the value
 
 - 
getIsAccessConstrainedBySqlFirewallpublic Boolean getIsAccessConstrainedBySqlFirewall() Indicates whether the table access is constrained via Oracle Database SQL Firewall.- Returns:
- the value
 
 - 
getIsSensitivepublic Boolean getIsSensitive() Indicates whether the table is marked as sensitive.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-