Package com.oracle.bmc.datasafe.model
Class DatabaseViewAccessEntrySummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datasafe.model.DatabaseViewAccessEntrySummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class DatabaseViewAccessEntrySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of DatabaseViewAccess Object.
 Note: Objects should always be created or deserialized using theDatabaseViewAccessEntrySummary.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 theDatabaseViewAccessEntrySummary.Builder, which maintain a set of all explicitly set fields calledDatabaseViewAccessEntrySummary.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 classDatabaseViewAccessEntrySummary.Builder
 - 
Constructor SummaryConstructors Constructor Description DatabaseViewAccessEntrySummary(String key, String grantee, String grantFromRole, AccessType accessType, PrivilegeName privilege, String targetId, PrivilegeGrantableOption privilegeGrantable, String privilegeType, String tableSchema, String tableName, String viewSchema, String viewName, String viewText, String columnName, String grantor, Boolean isAccessConstrainedByDatabaseVault, Boolean isAccessConstrainedByVirtualPrivateDatabase, Boolean isAccessConstrainedByRedaction, Boolean isAccessConstrainedByRealApplicationSecurity, Boolean isAccessConstrainedBySqlFirewall)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseViewAccessEntrySummary.Builderbuilder()Create a new builder.booleanequals(Object o)AccessTypegetAccessType()The type of the access the user has on the table, there can be one or more from SELECT, DELETE, INSERT, READ or UPDATE.StringgetColumnName()The name of column when there are column level privileges on a table or view.StringgetGrantee()Grantee is the user who can access the view.StringgetGrantFromRole()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 user who granted the privilege.BooleangetIsAccessConstrainedByDatabaseVault()Indicates whether the table access is constrained via Oracle Database Vault.BooleangetIsAccessConstrainedByRealApplicationSecurity()Indicates whether the view access is constrained via Real Application Security.BooleangetIsAccessConstrainedByRedaction()Indicates whether the view access is constrained via Oracle Data Redaction.BooleangetIsAccessConstrainedBySqlFirewall()Indicates whether the view access is constrained via Oracle Database SQL Firewall.BooleangetIsAccessConstrainedByVirtualPrivateDatabase()Indicates whether the view access is constrained via Virtual Private Database.StringgetKey()The unique key that identifies the view report.PrivilegeNamegetPrivilege()The name of the privilege.PrivilegeGrantableOptiongetPrivilegeGrantable()Indicates whether the 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()The name of the table.StringgetTableSchema()The name of the schemaStringgetTargetId()The OCID of the of the target database.StringgetViewName()The name of the view.StringgetViewSchema()The name of the schema.StringgetViewText()The definition of the view.inthashCode()DatabaseViewAccessEntrySummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DatabaseViewAccessEntrySummary@Deprecated @ConstructorProperties({"key","grantee","grantFromRole","accessType","privilege","targetId","privilegeGrantable","privilegeType","tableSchema","tableName","viewSchema","viewName","viewText","columnName","grantor","isAccessConstrainedByDatabaseVault","isAccessConstrainedByVirtualPrivateDatabase","isAccessConstrainedByRedaction","isAccessConstrainedByRealApplicationSecurity","isAccessConstrainedBySqlFirewall"}) public DatabaseViewAccessEntrySummary(String key, String grantee, String grantFromRole, AccessType accessType, PrivilegeName privilege, String targetId, PrivilegeGrantableOption privilegeGrantable, String privilegeType, String tableSchema, String tableName, String viewSchema, String viewName, String viewText, String columnName, String grantor, Boolean isAccessConstrainedByDatabaseVault, Boolean isAccessConstrainedByVirtualPrivateDatabase, Boolean isAccessConstrainedByRedaction, Boolean isAccessConstrainedByRealApplicationSecurity, Boolean isAccessConstrainedBySqlFirewall) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DatabaseViewAccessEntrySummary.Builder builder() Create a new builder.
 - 
toBuilderpublic DatabaseViewAccessEntrySummary.Builder toBuilder() 
 - 
getKeypublic String getKey() The unique key that identifies the view 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 view.- 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, DELETE, INSERT, READ or UPDATE.- Returns:
- the value
 
 - 
getPrivilegepublic PrivilegeName getPrivilege() The name of the privilege.- Returns:
- the value
 
 - 
getTargetIdpublic String getTargetId() The OCID of the of the target database.- Returns:
- the value
 
 - 
getPrivilegeGrantablepublic PrivilegeGrantableOption getPrivilegeGrantable() 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 - 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
 
 - 
getTableSchemapublic String getTableSchema() The name of the schema- Returns:
- the value
 
 - 
getTableNamepublic String getTableName() The name of the table.- Returns:
- the value
 
 - 
getViewSchemapublic String getViewSchema() The name of the schema.- Returns:
- the value
 
 - 
getViewNamepublic String getViewName() The name of the view.- Returns:
- the value
 
 - 
getViewTextpublic String getViewText() The definition of the view.- Returns:
- the value
 
 - 
getColumnNamepublic String getColumnName() The name of column when there are column level privileges on a table or view.- Returns:
- the value
 
 - 
getGrantorpublic String getGrantor() The user who granted the privilege.- 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 view access is constrained via Virtual Private Database.- Returns:
- the value
 
 - 
getIsAccessConstrainedByRedactionpublic Boolean getIsAccessConstrainedByRedaction() Indicates whether the view access is constrained via Oracle Data Redaction.- Returns:
- the value
 
 - 
getIsAccessConstrainedByRealApplicationSecuritypublic Boolean getIsAccessConstrainedByRealApplicationSecurity() Indicates whether the view access is constrained via Real Application Security.- Returns:
- the value
 
 - 
getIsAccessConstrainedBySqlFirewallpublic Boolean getIsAccessConstrainedBySqlFirewall() Indicates whether the view access is constrained via Oracle Database SQL Firewall.- 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
 
 
- 
 
-