Class Profile
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.Profile
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class Profile extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The comprehensive information about the user profiles available on a given target.It includes details such as profile name, failed login attempts, password reuse time, password verification function, password verification function implementation code snippet, sessions per user, connect time inactive account time, password lock time, cpu usage per session, target id, and compartment id.
Note: Objects should always be created or deserialized using theProfile.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 theProfile.Builder
, which maintain a set of all explicitly set fields calledProfile.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Profile.Builder
-
Constructor Summary
Constructors Constructor Description Profile(String userAssessmentId, String compartmentId, String targetId, String profileName, Integer userCount, String failedLoginAttempts, String passwordVerificationFunction, String passwordVerificationFunctionDetails, String passwordLockTime, String passwordLifeTime, String passwordReuseMax, String passwordReuseTime, String passwordRolloverTime, String passwordGraceTime, Boolean isUserCreated, String sessionsPerUser, String inactiveAccountTime, String connectTime, String idleTime, String compositeLimit, String cpuPerCall, String cpuPerSession, String logicalReadsPerCall, String logicalReadsPerSession, String privateSga, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Profile.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
The OCID of the compartment that contains the user assessment.String
getCompositeLimit()
Specify the total resource cost for a session, expressed in service units.String
getConnectTime()
Specify the total elapsed time limit for a session, expressed in minutes.String
getCpuPerCall()
Specify the CPU time limit for a call (a parse, execute, or fetch), expressed in hundredths of seconds.String
getCpuPerSession()
Specify the CPU time limit for a session, expressed in hundredth of seconds.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getFailedLoginAttempts()
Maximum times the user is allowed in fail login before the user account is locked.Map<String,String>
getFreeformTags()
Free-form tags for this resource.String
getIdleTime()
Specify the permitted periods of continuous inactive time during a session, expressed in minutes.String
getInactiveAccountTime()
The permitted periods of continuous inactive time during a session, expressed in minutes.Boolean
getIsUserCreated()
Represents if the profile is created by user.String
getLogicalReadsPerCall()
Specify the permitted the number of data blocks read for a call to process a SQL statement (a parse, execute, or fetch).String
getLogicalReadsPerSession()
Specify the permitted number of data blocks read in a session, including blocks read from memory and disk.String
getPasswordGraceTime()
Number of grace days for user to change password.String
getPasswordLifeTime()
Number of days the password is valid before expiry.String
getPasswordLockTime()
Number of days the user account remains locked after failed login.String
getPasswordReuseMax()
Number of day after the user can use the already used password.String
getPasswordReuseTime()
Number of days before which a password cannot be reused.String
getPasswordRolloverTime()
Number of days the password rollover is allowed.String
getPasswordVerificationFunction()
Name of the PL/SQL that can be used for password verification.String
getPasswordVerificationFunctionDetails()
Details about the PL/SQL that can be used for password verification.String
getPrivateSga()
Specify the amount of private space a session can allocate in the shared pool of the system global area (SGA), expressed in bytes.String
getProfileName()
The name of the profile.String
getSessionsPerUser()
Specify the number of concurrent sessions to which you want to limit the user.String
getTargetId()
The OCID of the target database.String
getUserAssessmentId()
The OCID of the user assessment corresponding to the target under consideration.Integer
getUserCount()
The number of users that have a given profile.int
hashCode()
Profile.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
Profile
@Deprecated @ConstructorProperties({"userAssessmentId","compartmentId","targetId","profileName","userCount","failedLoginAttempts","passwordVerificationFunction","passwordVerificationFunctionDetails","passwordLockTime","passwordLifeTime","passwordReuseMax","passwordReuseTime","passwordRolloverTime","passwordGraceTime","isUserCreated","sessionsPerUser","inactiveAccountTime","connectTime","idleTime","compositeLimit","cpuPerCall","cpuPerSession","logicalReadsPerCall","logicalReadsPerSession","privateSga","freeformTags","definedTags"}) public Profile(String userAssessmentId, String compartmentId, String targetId, String profileName, Integer userCount, String failedLoginAttempts, String passwordVerificationFunction, String passwordVerificationFunctionDetails, String passwordLockTime, String passwordLifeTime, String passwordReuseMax, String passwordReuseTime, String passwordRolloverTime, String passwordGraceTime, Boolean isUserCreated, String sessionsPerUser, String inactiveAccountTime, String connectTime, String idleTime, String compositeLimit, String cpuPerCall, String cpuPerSession, String logicalReadsPerCall, String logicalReadsPerSession, String privateSga, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
-
Method Detail
-
builder
public static Profile.Builder builder()
Create a new builder.
-
toBuilder
public Profile.Builder toBuilder()
-
getUserAssessmentId
public String getUserAssessmentId()
The OCID of the user assessment corresponding to the target under consideration.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that contains the user assessment.- Returns:
- the value
-
getTargetId
public String getTargetId()
The OCID of the target database.- Returns:
- the value
-
getProfileName
public String getProfileName()
The name of the profile.- Returns:
- the value
-
getUserCount
public Integer getUserCount()
The number of users that have a given profile.- Returns:
- the value
-
getFailedLoginAttempts
public String getFailedLoginAttempts()
Maximum times the user is allowed in fail login before the user account is locked.- Returns:
- the value
-
getPasswordVerificationFunction
public String getPasswordVerificationFunction()
Name of the PL/SQL that can be used for password verification.- Returns:
- the value
-
getPasswordVerificationFunctionDetails
public String getPasswordVerificationFunctionDetails()
Details about the PL/SQL that can be used for password verification.- Returns:
- the value
-
getPasswordLockTime
public String getPasswordLockTime()
Number of days the user account remains locked after failed login.- Returns:
- the value
-
getPasswordLifeTime
public String getPasswordLifeTime()
Number of days the password is valid before expiry.- Returns:
- the value
-
getPasswordReuseMax
public String getPasswordReuseMax()
Number of day after the user can use the already used password.- Returns:
- the value
-
getPasswordReuseTime
public String getPasswordReuseTime()
Number of days before which a password cannot be reused.- Returns:
- the value
-
getPasswordRolloverTime
public String getPasswordRolloverTime()
Number of days the password rollover is allowed.Minimum value can be 1/24 day (1 hour) to 60 days.
- Returns:
- the value
-
getPasswordGraceTime
public String getPasswordGraceTime()
Number of grace days for user to change password.- Returns:
- the value
-
getIsUserCreated
public Boolean getIsUserCreated()
Represents if the profile is created by user.- Returns:
- the value
-
getSessionsPerUser
public String getSessionsPerUser()
Specify the number of concurrent sessions to which you want to limit the user.- Returns:
- the value
-
getInactiveAccountTime
public String getInactiveAccountTime()
The permitted periods of continuous inactive time during a session, expressed in minutes.Long-running queries and other operations are not subject to this limit.
- Returns:
- the value
-
getConnectTime
public String getConnectTime()
Specify the total elapsed time limit for a session, expressed in minutes.- Returns:
- the value
-
getIdleTime
public String getIdleTime()
Specify the permitted periods of continuous inactive time during a session, expressed in minutes.- Returns:
- the value
-
getCompositeLimit
public String getCompositeLimit()
Specify the total resource cost for a session, expressed in service units.Oracle Database calculates the total service units as a weighted sum of CPU_PER_SESSION, CONNECT_TIME, LOGICAL_READS_PER_SESSION, and PRIVATE_SGA.
- Returns:
- the value
-
getCpuPerCall
public String getCpuPerCall()
Specify the CPU time limit for a call (a parse, execute, or fetch), expressed in hundredths of seconds.- Returns:
- the value
-
getCpuPerSession
public String getCpuPerSession()
Specify the CPU time limit for a session, expressed in hundredth of seconds.- Returns:
- the value
-
getLogicalReadsPerCall
public String getLogicalReadsPerCall()
Specify the permitted the number of data blocks read for a call to process a SQL statement (a parse, execute, or fetch).- Returns:
- the value
-
getLogicalReadsPerSession
public String getLogicalReadsPerSession()
Specify the permitted number of data blocks read in a session, including blocks read from memory and disk.- Returns:
- the value
-
getPrivateSga
public String getPrivateSga()
Specify the amount of private space a session can allocate in the shared pool of the system global area (SGA), expressed in bytes.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
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"}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-