Class ProfileSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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