Package com.oracle.bmc.datasafe.model
Class UserSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.UserSummary.Builder
-
- Enclosing class:
- UserSummary
public static class UserSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
timePasswordExpiry(Date timePasswordExpiry)
The date and time the user’s password will expire, 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:
-
-
-
Method Detail
-
key
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.
- Parameters:
key
- the value to set- Returns:
- this builder
-
userName
public UserSummary.Builder userName(String userName)
The database user name.- Parameters:
userName
- the value to set- Returns:
- this builder
-
userCategory
public UserSummary.Builder userCategory(UserSummary.UserCategory userCategory)
The user category based on the privileges and other details of the user.- Parameters:
userCategory
- the value to set- Returns:
- this builder
-
accountStatus
public UserSummary.Builder accountStatus(UserSummary.AccountStatus accountStatus)
The status of the user account.- Parameters:
accountStatus
- the value to set- Returns:
- this builder
-
targetId
public UserSummary.Builder targetId(String targetId)
The OCID of the target database.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
timeLastLogin
public UserSummary.Builder timeLastLogin(Date timeLastLogin)
The date and time the user last logged in, in the format defined by RFC3339.- Parameters:
timeLastLogin
- the value to set- Returns:
- this builder
-
timeUserCreated
public UserSummary.Builder timeUserCreated(Date timeUserCreated)
The date and time the user was created in the database, in the format defined by RFC3339.- Parameters:
timeUserCreated
- the value to set- Returns:
- this builder
-
authenticationType
public UserSummary.Builder authenticationType(UserSummary.AuthenticationType authenticationType)
The user authentication method.- Parameters:
authenticationType
- the value to set- Returns:
- this builder
-
userProfile
public UserSummary.Builder userProfile(String userProfile)
The user profile name.- Parameters:
userProfile
- the value to set- Returns:
- this builder
-
timePasswordChanged
public UserSummary.Builder timePasswordChanged(Date timePasswordChanged)
The date and time the user password was last changed, in the format defined by RFC3339.- Parameters:
timePasswordChanged
- the value to set- Returns:
- this builder
-
timePasswordExpiry
public UserSummary.Builder timePasswordExpiry(Date timePasswordExpiry)
The date and time the user’s password will expire, in the format defined by RFC3339.- Parameters:
timePasswordExpiry
- the value to set- Returns:
- this builder
-
userTypes
public 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.
- Parameters:
userTypes
- the value to set- Returns:
- this builder
-
adminRoles
public UserSummary.Builder adminRoles(List<UserSummary.AdminRoles> adminRoles)
The admin roles granted to the user.- Parameters:
adminRoles
- the value to set- Returns:
- this builder
-
areAllSchemasAccessible
public UserSummary.Builder areAllSchemasAccessible(Boolean areAllSchemasAccessible)
Indicates whether the user has access to all the schemas.- Parameters:
areAllSchemasAccessible
- the value to set- Returns:
- this builder
-
schemaList
public UserSummary.Builder schemaList(List<String> schemaList)
The list of database schemas current user can access.- Parameters:
schemaList
- the value to set- Returns:
- this builder
-
build
public UserSummary build()
-
copy
public UserSummary.Builder copy(UserSummary model)
-
-