Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
User.Builder |
allShared(User.AllShared allShared)
In a sharded database, indicates whether the user is created with shard DDL enabled (YES)
or not (NO).
|
User.Builder |
authentication(User.Authentication authentication)
The authentication mechanism for the user.
|
User |
build() |
User.Builder |
common(User.Common common)
Indicates whether a given user is common(Y) or local(N).
|
User.Builder |
consumerGroup(String consumerGroup)
The initial resource consumer group for the User.
|
User.Builder |
copy(User model) |
User.Builder |
defaultCollation(String defaultCollation)
The default collation for the user schema.
|
User.Builder |
defaultTablespace(String defaultTablespace)
The default tablespace for data.
|
User.Builder |
editionsEnabled(User.EditionsEnabled editionsEnabled)
Indicates whether editions have been enabled for the corresponding user (Y) or not (N).
|
User.Builder |
externalName(String externalName)
The external name of the user.
|
User.Builder |
externalShared(User.ExternalShared externalShared)
In a federated sharded database, indicates whether the user is an external shard user
(YES) or not (NO).
|
User.Builder |
implicit(User.Implicit implicit)
Indicates whether the user is a common user created by an implicit application (YES) or
not (NO).
|
User.Builder |
inherited(User.Inherited inherited)
Indicates whether the user definition is inherited from another container (YES) or not
(NO).
|
User.Builder |
localTempTablespace(String localTempTablespace)
The default local temporary tablespace for the user.
|
User.Builder |
name(String name)
The name of the User.
|
User.Builder |
oracleMaintained(User.OracleMaintained oracleMaintained)
Indicates whether the user was created and is maintained by Oracle-supplied scripts (such
as catalog.sql or catproc.sql).
|
User.Builder |
passwordVersions(String passwordVersions)
The list of existing versions of the password hashes (also known as “verifiers”) for the
account.
|
User.Builder |
profile(String profile)
The profile name of the user.
|
User.Builder |
proxyConnect(User.ProxyConnect proxyConnect)
Indicates whether a user can connect directly (N) or whether the account can only be
proxied (Y) by users who have proxy privileges for this account (that is, by users who
have been granted the “connect through” privilege for this account).
|
User.Builder |
status(User.Status status)
The status of the user account.
|
User.Builder |
tempTablespace(String tempTablespace)
The name of the default tablespace for temporary tables or the name of a tablespace
group.
|
User.Builder |
timeCreated(Date timeCreated)
The date and time the user was created.
|
User.Builder |
timeExpiring(Date timeExpiring)
The date and time of the expiration of the user account.
|
User.Builder |
timeLastLogin(Date timeLastLogin)
The date and time of the last user login.
|
User.Builder |
timeLocked(Date timeLocked)
The date the account was locked, if the status of the account is LOCKED.
|
User.Builder |
timePasswordChanged(Date timePasswordChanged)
The date and time when the user password was last set.
|
public User.Builder name(String name)
The name of the User.
name
- the value to setpublic User.Builder status(User.Status status)
The status of the user account.
status
- the value to setpublic User.Builder timeLocked(Date timeLocked)
The date the account was locked, if the status of the account is LOCKED.
timeLocked
- the value to setpublic User.Builder timeExpiring(Date timeExpiring)
The date and time of the expiration of the user account.
timeExpiring
- the value to setpublic User.Builder defaultTablespace(String defaultTablespace)
The default tablespace for data.
defaultTablespace
- the value to setpublic User.Builder tempTablespace(String tempTablespace)
The name of the default tablespace for temporary tables or the name of a tablespace group.
tempTablespace
- the value to setpublic User.Builder localTempTablespace(String localTempTablespace)
The default local temporary tablespace for the user.
localTempTablespace
- the value to setpublic User.Builder timeCreated(Date timeCreated)
The date and time the user was created.
timeCreated
- the value to setpublic User.Builder profile(String profile)
The profile name of the user.
profile
- the value to setpublic User.Builder consumerGroup(String consumerGroup)
The initial resource consumer group for the User.
consumerGroup
- the value to setpublic User.Builder externalName(String externalName)
The external name of the user.
externalName
- the value to setpublic User.Builder passwordVersions(String passwordVersions)
The list of existing versions of the password hashes (also known as “verifiers”) for the account.
passwordVersions
- the value to setpublic User.Builder editionsEnabled(User.EditionsEnabled editionsEnabled)
Indicates whether editions have been enabled for the corresponding user (Y) or not (N).
editionsEnabled
- the value to setpublic User.Builder authentication(User.Authentication authentication)
The authentication mechanism for the user.
authentication
- the value to setpublic User.Builder proxyConnect(User.ProxyConnect proxyConnect)
Indicates whether a user can connect directly (N) or whether the account can only be proxied (Y) by users who have proxy privileges for this account (that is, by users who have been granted the “connect through” privilege for this account).
proxyConnect
- the value to setpublic User.Builder common(User.Common common)
Indicates whether a given user is common(Y) or local(N).
common
- the value to setpublic User.Builder timeLastLogin(Date timeLastLogin)
The date and time of the last user login. This column is not populated when a user connects to the database with administrative privileges, that is, AS { SYSASM | SYSBACKUP | SYSDBA | SYSDG | SYSOPER | SYSRAC | SYSKM }.
timeLastLogin
- the value to setpublic User.Builder oracleMaintained(User.OracleMaintained oracleMaintained)
Indicates whether the user was created and is maintained by Oracle-supplied scripts (such as catalog.sql or catproc.sql).
oracleMaintained
- the value to setpublic User.Builder inherited(User.Inherited inherited)
Indicates whether the user definition is inherited from another container (YES) or not (NO).
inherited
- the value to setpublic User.Builder defaultCollation(String defaultCollation)
The default collation for the user schema.
defaultCollation
- the value to setpublic User.Builder implicit(User.Implicit implicit)
Indicates whether the user is a common user created by an implicit application (YES) or not (NO).
implicit
- the value to setpublic User.Builder allShared(User.AllShared allShared)
In a sharded database, indicates whether the user is created with shard DDL enabled (YES) or not (NO).
allShared
- the value to setpublic User.Builder externalShared(User.ExternalShared externalShared)
In a federated sharded database, indicates whether the user is an external shard user (YES) or not (NO).
externalShared
- the value to setpublic User.Builder timePasswordChanged(Date timePasswordChanged)
The date and time when the user password was last set. This column is populated only when the value of the AUTHENTICATION_TYPE column is PASSWORD. Otherwise, this column is null.
timePasswordChanged
- the value to setpublic User build()
public User.Builder copy(User model)
Copyright © 2016–2024. All rights reserved.