@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class UserSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The summary of information about the database user. It includes details such as user type,
account status, last login time, user creation time, authentication type, user profile, and time
and date of the last password change. It also contains the user category derived from these user
details, as well as granted privileges.
Note: Objects should always be created or deserialized using the UserSummary.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 UserSummary.Builder
, which maintain a
set of all explicitly set fields called UserSummary.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 |
UserSummary.AccountStatus
The status of the user account.
|
static class |
UserSummary.AdminRoles |
static class |
UserSummary.AuthenticationType
The user authentication method.
|
static class |
UserSummary.Builder |
static class |
UserSummary.UserCategory
The user category based on the privileges and other details of the user.
|
static class |
UserSummary.UserTypes |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UserSummary(String key,
String userName,
UserSummary.UserCategory userCategory,
UserSummary.AccountStatus accountStatus,
String targetId,
Date timeLastLogin,
Date timeUserCreated,
UserSummary.AuthenticationType authenticationType,
String userProfile,
Date timePasswordChanged,
List<UserSummary.UserTypes> userTypes,
List<UserSummary.AdminRoles> adminRoles,
Boolean areAllSchemasAccessible,
List<String> schemaList)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UserSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
UserSummary.AccountStatus |
getAccountStatus()
The status of the user account.
|
List<UserSummary.AdminRoles> |
getAdminRoles()
The admin roles granted to the user.
|
Boolean |
getAreAllSchemasAccessible()
Indicates whether the user has access to all the schemas.
|
UserSummary.AuthenticationType |
getAuthenticationType()
The user authentication method.
|
String |
getKey()
The unique user key.
|
List<String> |
getSchemaList()
The list of database schemas current user can access.
|
String |
getTargetId()
The OCID of the target database.
|
Date |
getTimeLastLogin()
The date and time the user last logged in, in the format defined by
RFC3339.
|
Date |
getTimePasswordChanged()
The date and time the user password was last changed, in the format defined by
RFC3339.
|
Date |
getTimeUserCreated()
The date and time the user was created in the database, in the format defined by
RFC3339.
|
UserSummary.UserCategory |
getUserCategory()
The user category based on the privileges and other details of the user.
|
String |
getUserName()
The database user name.
|
String |
getUserProfile()
The user profile name.
|
List<UserSummary.UserTypes> |
getUserTypes()
The user type, which can be a combination of the following:
|
int |
hashCode() |
UserSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","userName","userCategory","accountStatus","targetId","timeLastLogin","timeUserCreated","authenticationType","userProfile","timePasswordChanged","userTypes","adminRoles","areAllSchemasAccessible","schemaList"}) public UserSummary(String key, String userName, UserSummary.UserCategory userCategory, UserSummary.AccountStatus accountStatus, String targetId, Date timeLastLogin, Date timeUserCreated, UserSummary.AuthenticationType authenticationType, String userProfile, Date timePasswordChanged, List<UserSummary.UserTypes> userTypes, List<UserSummary.AdminRoles> adminRoles, Boolean areAllSchemasAccessible, List<String> schemaList)
public static UserSummary.Builder builder()
Create a new builder.
public UserSummary.Builder toBuilder()
public String getKey()
The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user.
public String getUserName()
The database user name.
public UserSummary.UserCategory getUserCategory()
The user category based on the privileges and other details of the user.
public UserSummary.AccountStatus getAccountStatus()
The status of the user account.
public String getTargetId()
The OCID of the target database.
public Date getTimeLastLogin()
The date and time the user last logged in, in the format defined by RFC3339.
public Date getTimeUserCreated()
The date and time the user was created in the database, in the format defined by RFC3339.
public UserSummary.AuthenticationType getAuthenticationType()
The user authentication method.
public String getUserProfile()
The user profile name.
public Date getTimePasswordChanged()
The date and time the user password was last changed, in the format defined by RFC3339.
public List<UserSummary.UserTypes> getUserTypes()
The user type, which can be a combination of the following:
'Admin Privileged': The user has administrative privileges. 'Application': The user is an Oracle E-Business Suite Applications (EBS) or Fusion Applications (FA) user. 'Privileged': The user is a privileged user. 'Schema': The user is EXPIRED & LOCKED / EXPIRED / LOCKED, or a schema-only account (authentication type is NONE). 'Non-privileged': The user is a non-privileged user.
public List<UserSummary.AdminRoles> getAdminRoles()
The admin roles granted to the user.
public Boolean getAreAllSchemasAccessible()
Indicates whether the user has access to all the schemas.
public List<String> getSchemaList()
The list of database schemas current user can access.
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.