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.ExplicitlySetBmcModelThe 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 SummaryNested Classes Modifier and Type Class Description static classProfile.Builder
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Profile.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment that contains the user assessment.StringgetCompositeLimit()Specify the total resource cost for a session, expressed in service units.StringgetConnectTime()Specify the total elapsed time limit for a session, expressed in minutes.StringgetCpuPerCall()Specify the CPU time limit for a call (a parse, execute, or fetch), expressed in hundredths of seconds.StringgetCpuPerSession()Specify the CPU time limit for a session, expressed in hundredth of seconds.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetFailedLoginAttempts()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.StringgetIdleTime()Specify the permitted periods of continuous inactive time during a session, expressed in minutes.StringgetInactiveAccountTime()The permitted periods of continuous inactive time during a session, expressed in minutes.BooleangetIsUserCreated()Represents if the profile is created by user.StringgetLogicalReadsPerCall()Specify the permitted the number of data blocks read for a call to process a SQL statement (a parse, execute, or fetch).StringgetLogicalReadsPerSession()Specify the permitted number of data blocks read in a session, including blocks read from memory and disk.StringgetPasswordGraceTime()Number of grace days for user to change password.StringgetPasswordLifeTime()Number of days the password is valid before expiry.StringgetPasswordLockTime()Number of days the user account remains locked after failed login.StringgetPasswordReuseMax()Number of day after the user can use the already used password.StringgetPasswordReuseTime()Number of days before which a password cannot be reused.StringgetPasswordRolloverTime()Number of days the password rollover is allowed.StringgetPasswordVerificationFunction()Name of the PL/SQL that can be used for password verification.StringgetPasswordVerificationFunctionDetails()Details about the PL/SQL that can be used for password verification.StringgetPrivateSga()Specify the amount of private space a session can allocate in the shared pool of the system global area (SGA), expressed in bytes.StringgetProfileName()The name of the profile.StringgetSessionsPerUser()Specify the number of concurrent sessions to which you want to limit the user.StringgetTargetId()The OCID of the target database.StringgetUserAssessmentId()The OCID of the user assessment corresponding to the target under consideration.IntegergetUserCount()The number of users that have a given profile.inthashCode()Profile.BuildertoBuilder()StringtoString()StringtoString(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- 
builderpublic static Profile.Builder builder() Create a new builder.
 - 
toBuilderpublic Profile.Builder toBuilder() 
 - 
getUserAssessmentIdpublic String getUserAssessmentId() The OCID of the user assessment corresponding to the target under consideration.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment that contains the user assessment.- Returns:
- the value
 
 - 
getTargetIdpublic String getTargetId() The OCID of the target database.- Returns:
- the value
 
 - 
getProfileNamepublic String getProfileName() The name of the profile.- Returns:
- the value
 
 - 
getUserCountpublic Integer getUserCount() The number of users that have a given profile.- Returns:
- the value
 
 - 
getFailedLoginAttemptspublic String getFailedLoginAttempts() Maximum times the user is allowed in fail login before the user account is locked.- Returns:
- the value
 
 - 
getPasswordVerificationFunctionpublic String getPasswordVerificationFunction() Name of the PL/SQL that can be used for password verification.- Returns:
- the value
 
 - 
getPasswordVerificationFunctionDetailspublic String getPasswordVerificationFunctionDetails() Details about the PL/SQL that can be used for password verification.- Returns:
- the value
 
 - 
getPasswordLockTimepublic String getPasswordLockTime() Number of days the user account remains locked after failed login.- Returns:
- the value
 
 - 
getPasswordLifeTimepublic String getPasswordLifeTime() Number of days the password is valid before expiry.- Returns:
- the value
 
 - 
getPasswordReuseMaxpublic String getPasswordReuseMax() Number of day after the user can use the already used password.- Returns:
- the value
 
 - 
getPasswordReuseTimepublic String getPasswordReuseTime() Number of days before which a password cannot be reused.- Returns:
- the value
 
 - 
getPasswordRolloverTimepublic 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
 
 - 
getPasswordGraceTimepublic String getPasswordGraceTime() Number of grace days for user to change password.- Returns:
- the value
 
 - 
getIsUserCreatedpublic Boolean getIsUserCreated() Represents if the profile is created by user.- Returns:
- the value
 
 - 
getSessionsPerUserpublic String getSessionsPerUser() Specify the number of concurrent sessions to which you want to limit the user.- Returns:
- the value
 
 - 
getInactiveAccountTimepublic 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
 
 - 
getConnectTimepublic String getConnectTime() Specify the total elapsed time limit for a session, expressed in minutes.- Returns:
- the value
 
 - 
getIdleTimepublic String getIdleTime() Specify the permitted periods of continuous inactive time during a session, expressed in minutes.- Returns:
- the value
 
 - 
getCompositeLimitpublic 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
 
 - 
getCpuPerCallpublic String getCpuPerCall() Specify the CPU time limit for a call (a parse, execute, or fetch), expressed in hundredths of seconds.- Returns:
- the value
 
 - 
getCpuPerSessionpublic String getCpuPerSession() Specify the CPU time limit for a session, expressed in hundredth of seconds.- Returns:
- the value
 
 - 
getLogicalReadsPerCallpublic 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
 
 - 
getLogicalReadsPerSessionpublic String getLogicalReadsPerSession() Specify the permitted number of data blocks read in a session, including blocks read from memory and disk.- Returns:
- the value
 
 - 
getPrivateSgapublic 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
 
 - 
getFreeformTagspublic 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
 
 - 
getDefinedTagspublic 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-