@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class User extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The summary of a specific user resource.
Note: Objects should always be created or deserialized using the User.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 the User.Builder
, which maintain a
set of all explicitly set fields called User.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
User.AllShared
In a sharded database, indicates whether the user is created with shard DDL enabled (YES) or
not (NO).
|
static class |
User.Authentication
The authentication mechanism for the user.
|
static class |
User.Builder |
static class |
User.Common
Indicates whether a given user is common(Y) or local(N).
|
static class |
User.EditionsEnabled
Indicates whether editions have been enabled for the corresponding user (Y) or not (N).
|
static class |
User.ExternalShared
In a federated sharded database, indicates whether the user is an external shard user (YES)
or not (NO).
|
static class |
User.Implicit
Indicates whether the user is a common user created by an implicit application (YES) or not
(NO).
|
static class |
User.Inherited
Indicates whether the user definition is inherited from another container (YES) or not (NO).
|
static class |
User.OracleMaintained
Indicates whether the user was created and is maintained by Oracle-supplied scripts (such as
catalog.sql or catproc.sql).
|
static class |
User.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).
|
static class |
User.Status
The status of the user account.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
User(String name,
User.Status status,
Date timeLocked,
Date timeExpiring,
String defaultTablespace,
String tempTablespace,
String localTempTablespace,
Date timeCreated,
String profile,
String consumerGroup,
String externalName,
String passwordVersions,
User.EditionsEnabled editionsEnabled,
User.Authentication authentication,
User.ProxyConnect proxyConnect,
User.Common common,
Date timeLastLogin,
User.OracleMaintained oracleMaintained,
User.Inherited inherited,
String defaultCollation,
User.Implicit implicit,
User.AllShared allShared,
User.ExternalShared externalShared,
Date timePasswordChanged)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static User.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
User.AllShared |
getAllShared()
In a sharded database, indicates whether the user is created with shard DDL enabled (YES) or
not (NO).
|
User.Authentication |
getAuthentication()
The authentication mechanism for the user.
|
User.Common |
getCommon()
Indicates whether a given user is common(Y) or local(N).
|
String |
getConsumerGroup()
The initial resource consumer group for the User.
|
String |
getDefaultCollation()
The default collation for the user schema.
|
String |
getDefaultTablespace()
The default tablespace for data.
|
User.EditionsEnabled |
getEditionsEnabled()
Indicates whether editions have been enabled for the corresponding user (Y) or not (N).
|
String |
getExternalName()
The external name of the user.
|
User.ExternalShared |
getExternalShared()
In a federated sharded database, indicates whether the user is an external shard user (YES)
or not (NO).
|
User.Implicit |
getImplicit()
Indicates whether the user is a common user created by an implicit application (YES) or not
(NO).
|
User.Inherited |
getInherited()
Indicates whether the user definition is inherited from another container (YES) or not (NO).
|
String |
getLocalTempTablespace()
The default local temporary tablespace for the user.
|
String |
getName()
The name of the User.
|
User.OracleMaintained |
getOracleMaintained()
Indicates whether the user was created and is maintained by Oracle-supplied scripts (such as
catalog.sql or catproc.sql).
|
String |
getPasswordVersions()
The list of existing versions of the password hashes (also known as “verifiers”) for the
account.
|
String |
getProfile()
The profile name of the user.
|
User.ProxyConnect |
getProxyConnect()
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.Status |
getStatus()
The status of the user account.
|
String |
getTempTablespace()
The name of the default tablespace for temporary tables or the name of a tablespace group.
|
Date |
getTimeCreated()
The date and time the user was created.
|
Date |
getTimeExpiring()
The date and time of the expiration of the user account.
|
Date |
getTimeLastLogin()
The date and time of the last user login.
|
Date |
getTimeLocked()
The date the account was locked, if the status of the account is LOCKED.
|
Date |
getTimePasswordChanged()
The date and time when the user password was last set.
|
int |
hashCode() |
User.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","status","timeLocked","timeExpiring","defaultTablespace","tempTablespace","localTempTablespace","timeCreated","profile","consumerGroup","externalName","passwordVersions","editionsEnabled","authentication","proxyConnect","common","timeLastLogin","oracleMaintained","inherited","defaultCollation","implicit","allShared","externalShared","timePasswordChanged"}) public User(String name, User.Status status, Date timeLocked, Date timeExpiring, String defaultTablespace, String tempTablespace, String localTempTablespace, Date timeCreated, String profile, String consumerGroup, String externalName, String passwordVersions, User.EditionsEnabled editionsEnabled, User.Authentication authentication, User.ProxyConnect proxyConnect, User.Common common, Date timeLastLogin, User.OracleMaintained oracleMaintained, User.Inherited inherited, String defaultCollation, User.Implicit implicit, User.AllShared allShared, User.ExternalShared externalShared, Date timePasswordChanged)
public static User.Builder builder()
Create a new builder.
public User.Builder toBuilder()
public String getName()
The name of the User.
public User.Status getStatus()
The status of the user account.
public Date getTimeLocked()
The date the account was locked, if the status of the account is LOCKED.
public Date getTimeExpiring()
The date and time of the expiration of the user account.
public String getDefaultTablespace()
The default tablespace for data.
public String getTempTablespace()
The name of the default tablespace for temporary tables or the name of a tablespace group.
public String getLocalTempTablespace()
The default local temporary tablespace for the user.
public Date getTimeCreated()
The date and time the user was created.
public String getProfile()
The profile name of the user.
public String getConsumerGroup()
The initial resource consumer group for the User.
public String getExternalName()
The external name of the user.
public String getPasswordVersions()
The list of existing versions of the password hashes (also known as “verifiers”) for the account.
public User.EditionsEnabled getEditionsEnabled()
Indicates whether editions have been enabled for the corresponding user (Y) or not (N).
public User.Authentication getAuthentication()
The authentication mechanism for the user.
public User.ProxyConnect getProxyConnect()
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).
public User.Common getCommon()
Indicates whether a given user is common(Y) or local(N).
public Date getTimeLastLogin()
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 }.
public User.OracleMaintained getOracleMaintained()
Indicates whether the user was created and is maintained by Oracle-supplied scripts (such as catalog.sql or catproc.sql).
public User.Inherited getInherited()
Indicates whether the user definition is inherited from another container (YES) or not (NO).
public String getDefaultCollation()
The default collation for the user schema.
public User.Implicit getImplicit()
Indicates whether the user is a common user created by an implicit application (YES) or not (NO).
public User.AllShared getAllShared()
In a sharded database, indicates whether the user is created with shard DDL enabled (YES) or not (NO).
public User.ExternalShared getExternalShared()
In a federated sharded database, indicates whether the user is an external shard user (YES) or not (NO).
public Date getTimePasswordChanged()
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.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.