Package com.oracle.bmc.datasafe.model
Class ProfileSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.ProfileSummary.Builder
-
- Enclosing class:
- ProfileSummary
public static class ProfileSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProfileSummary
build()
ProfileSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the user assessment.ProfileSummary.Builder
copy(ProfileSummary model)
ProfileSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ProfileSummary.Builder
failedLoginAttempts(String failedLoginAttempts)
Maximum times the user is allowed to fail login before the user account is locked.ProfileSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ProfileSummary.Builder
inactiveAccountTime(String inactiveAccountTime)
The permitted periods of continuous inactive time during a session, expressed in minutes.ProfileSummary.Builder
isUserCreated(Boolean isUserCreated)
Represents if the profile is created by user.ProfileSummary.Builder
passwordLockTime(String passwordLockTime)
Number of days the user account remains locked after failed loginProfileSummary.Builder
passwordVerificationFunction(String passwordVerificationFunction)
PL/SQL that can be used for password verification.ProfileSummary.Builder
profileName(String profileName)
The name of the profile.ProfileSummary.Builder
sessionsPerUser(String sessionsPerUser)
The maximum number of sessions a user is allowed to create.ProfileSummary.Builder
targetId(String targetId)
The OCID of the target database.ProfileSummary.Builder
userAssessmentId(String userAssessmentId)
The OCID of the latest user assessment corresponding to the target under consideration.ProfileSummary.Builder
userCount(Integer userCount)
The number of users having a given profile.
-
-
-
Method Detail
-
userAssessmentId
public ProfileSummary.Builder userAssessmentId(String userAssessmentId)
The OCID of the latest user assessment corresponding to the target under consideration.A compartment type assessment can also be passed to profiles from all the targets from the corresponding compartment.
- Parameters:
userAssessmentId
- the value to set- Returns:
- this builder
-
compartmentId
public ProfileSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the user assessment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
targetId
public ProfileSummary.Builder targetId(String targetId)
The OCID of the target database.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
profileName
public ProfileSummary.Builder profileName(String profileName)
The name of the profile.- Parameters:
profileName
- the value to set- Returns:
- this builder
-
userCount
public ProfileSummary.Builder userCount(Integer userCount)
The number of users having a given profile.- Parameters:
userCount
- the value to set- Returns:
- this builder
-
failedLoginAttempts
public ProfileSummary.Builder failedLoginAttempts(String failedLoginAttempts)
Maximum times the user is allowed to fail login before the user account is locked.- Parameters:
failedLoginAttempts
- the value to set- Returns:
- this builder
-
passwordVerificationFunction
public ProfileSummary.Builder passwordVerificationFunction(String passwordVerificationFunction)
PL/SQL that can be used for password verification.- Parameters:
passwordVerificationFunction
- the value to set- Returns:
- this builder
-
sessionsPerUser
public ProfileSummary.Builder sessionsPerUser(String sessionsPerUser)
The maximum number of sessions a user is allowed to create.- Parameters:
sessionsPerUser
- the value to set- Returns:
- this builder
-
inactiveAccountTime
public ProfileSummary.Builder inactiveAccountTime(String inactiveAccountTime)
The permitted periods of continuous inactive time during a session, expressed in minutes.Long-running queries and other operations are not subjected to this limit.
- Parameters:
inactiveAccountTime
- the value to set- Returns:
- this builder
-
passwordLockTime
public ProfileSummary.Builder passwordLockTime(String passwordLockTime)
Number of days the user account remains locked after failed login- Parameters:
passwordLockTime
- the value to set- Returns:
- this builder
-
isUserCreated
public ProfileSummary.Builder isUserCreated(Boolean isUserCreated)
Represents if the profile is created by user.- Parameters:
isUserCreated
- the value to set- Returns:
- this builder
-
freeformTags
public ProfileSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public ProfileSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public ProfileSummary build()
-
copy
public ProfileSummary.Builder copy(ProfileSummary model)
-
-