public static class UserSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UserSummary.Builder |
accountStatus(UserSummary.AccountStatus accountStatus)
The status of the user account.
|
UserSummary.Builder |
adminRoles(List<UserSummary.AdminRoles> adminRoles)
The admin roles granted to the user.
|
UserSummary.Builder |
areAllSchemasAccessible(Boolean areAllSchemasAccessible)
Indicates whether the user has access to all the schemas.
|
UserSummary.Builder |
authenticationType(UserSummary.AuthenticationType authenticationType)
The user authentication method.
|
UserSummary |
build() |
UserSummary.Builder |
copy(UserSummary model) |
UserSummary.Builder |
key(String key)
The unique user key.
|
UserSummary.Builder |
schemaList(List<String> schemaList)
The list of database schemas current user can access.
|
UserSummary.Builder |
targetId(String targetId)
The OCID of the target database.
|
UserSummary.Builder |
timeLastLogin(Date timeLastLogin)
The date and time the user last logged in, in the format defined by
RFC3339.
|
UserSummary.Builder |
timePasswordChanged(Date timePasswordChanged)
The date and time the user password was last changed, in the format defined by
RFC3339.
|
UserSummary.Builder |
timeUserCreated(Date timeUserCreated)
The date and time the user was created in the database, in the format defined by
RFC3339.
|
UserSummary.Builder |
userCategory(UserSummary.UserCategory userCategory)
The user category based on the privileges and other details of the user.
|
UserSummary.Builder |
userName(String userName)
The database user name.
|
UserSummary.Builder |
userProfile(String userProfile)
The user profile name.
|
UserSummary.Builder |
userTypes(List<UserSummary.UserTypes> userTypes)
The user type, which can be a combination of the following:
|
public UserSummary.Builder key(String key)
The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user.
key
- the value to setpublic UserSummary.Builder userName(String userName)
The database user name.
userName
- the value to setpublic UserSummary.Builder userCategory(UserSummary.UserCategory userCategory)
The user category based on the privileges and other details of the user.
userCategory
- the value to setpublic UserSummary.Builder accountStatus(UserSummary.AccountStatus accountStatus)
The status of the user account.
accountStatus
- the value to setpublic UserSummary.Builder targetId(String targetId)
The OCID of the target database.
targetId
- the value to setpublic UserSummary.Builder timeLastLogin(Date timeLastLogin)
The date and time the user last logged in, in the format defined by RFC3339.
timeLastLogin
- the value to setpublic UserSummary.Builder timeUserCreated(Date timeUserCreated)
The date and time the user was created in the database, in the format defined by RFC3339.
timeUserCreated
- the value to setpublic UserSummary.Builder authenticationType(UserSummary.AuthenticationType authenticationType)
The user authentication method.
authenticationType
- the value to setpublic UserSummary.Builder userProfile(String userProfile)
The user profile name.
userProfile
- the value to setpublic UserSummary.Builder timePasswordChanged(Date timePasswordChanged)
The date and time the user password was last changed, in the format defined by RFC3339.
timePasswordChanged
- the value to setpublic UserSummary.Builder userTypes(List<UserSummary.UserTypes> userTypes)
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.
userTypes
- the value to setpublic UserSummary.Builder adminRoles(List<UserSummary.AdminRoles> adminRoles)
The admin roles granted to the user.
adminRoles
- the value to setpublic UserSummary.Builder areAllSchemasAccessible(Boolean areAllSchemasAccessible)
Indicates whether the user has access to all the schemas.
areAllSchemasAccessible
- the value to setpublic UserSummary.Builder schemaList(List<String> schemaList)
The list of database schemas current user can access.
schemaList
- the value to setpublic UserSummary build()
public UserSummary.Builder copy(UserSummary model)
Copyright © 2016–2024. All rights reserved.