public static class ObjectPrivilegeSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ObjectPrivilegeSummary |
build() |
ObjectPrivilegeSummary.Builder |
common(ObjectPrivilegeSummary.Common common)
Indicates how the object privilege was granted.
|
ObjectPrivilegeSummary.Builder |
copy(ObjectPrivilegeSummary model) |
ObjectPrivilegeSummary.Builder |
grantOption(ObjectPrivilegeSummary.GrantOption grantOption)
Indicates whether the privilege is granted with the GRANT OPTION (YES) or not (NO).
|
ObjectPrivilegeSummary.Builder |
grantor(String grantor)
The name of the user who granted the object privilege.
|
ObjectPrivilegeSummary.Builder |
hierarchy(ObjectPrivilegeSummary.Hierarchy hierarchy)
Indicates whether the privilege is granted with the HIERARCHY OPTION (YES) or not (NO).
|
ObjectPrivilegeSummary.Builder |
inherited(ObjectPrivilegeSummary.Inherited inherited)
Indicates whether the granted privilege is inherited from another container (YES) or not
(NO).
|
ObjectPrivilegeSummary.Builder |
name(String name)
The name of the privilege on the object.
|
ObjectPrivilegeSummary.Builder |
object(String object)
The name of the object.
|
ObjectPrivilegeSummary.Builder |
owner(String owner)
The owner of the object.
|
ObjectPrivilegeSummary.Builder |
schemaType(String schemaType)
The type of object.
|
public ObjectPrivilegeSummary.Builder name(String name)
The name of the privilege on the object.
name
- the value to setpublic ObjectPrivilegeSummary.Builder schemaType(String schemaType)
The type of object.
schemaType
- the value to setpublic ObjectPrivilegeSummary.Builder owner(String owner)
The owner of the object.
owner
- the value to setpublic ObjectPrivilegeSummary.Builder grantor(String grantor)
The name of the user who granted the object privilege.
grantor
- the value to setpublic ObjectPrivilegeSummary.Builder hierarchy(ObjectPrivilegeSummary.Hierarchy hierarchy)
Indicates whether the privilege is granted with the HIERARCHY OPTION (YES) or not (NO).
hierarchy
- the value to setpublic ObjectPrivilegeSummary.Builder object(String object)
The name of the object. The object can be any object, including tables, packages, indexes, sequences, and so on.
object
- the value to setpublic ObjectPrivilegeSummary.Builder grantOption(ObjectPrivilegeSummary.GrantOption grantOption)
Indicates whether the privilege is granted with the GRANT OPTION (YES) or not (NO).
grantOption
- the value to setpublic ObjectPrivilegeSummary.Builder common(ObjectPrivilegeSummary.Common common)
Indicates how the object privilege was granted. Possible values: YES if the role is granted commonly (CONTAINER=ALL is used) NO if the role is granted locally (CONTAINER=ALL is not used)
common
- the value to setpublic ObjectPrivilegeSummary.Builder inherited(ObjectPrivilegeSummary.Inherited inherited)
Indicates whether the granted privilege is inherited from another container (YES) or not (NO).
inherited
- the value to setpublic ObjectPrivilegeSummary build()
public ObjectPrivilegeSummary.Builder copy(ObjectPrivilegeSummary model)
Copyright © 2016–2024. All rights reserved.