@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 the Profile.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 the Profile.Builder
, which maintain a
set of all explicitly set fields called Profile.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
Profile.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static Profile.Builder builder()
Create a new builder.
public Profile.Builder toBuilder()
public String getUserAssessmentId()
The OCID of the user assessment corresponding to the target under consideration.
public String getCompartmentId()
The OCID of the compartment that contains the user assessment.
public String getTargetId()
The OCID of the target database.
public String getProfileName()
The name of the profile.
public Integer getUserCount()
The number of users that have a given profile.
public String getFailedLoginAttempts()
Maximum times the user is allowed in fail login before the user account is locked.
public String getPasswordVerificationFunction()
Name of the PL/SQL that can be used for password verification.
public String getPasswordVerificationFunctionDetails()
Details about the PL/SQL that can be used for password verification.
public String getPasswordLockTime()
Number of days the user account remains locked after failed login.
public String getPasswordLifeTime()
Number of days the password is valid before expiry.
public String getPasswordReuseMax()
Number of day after the user can use the already used password.
public String getPasswordReuseTime()
Number of days before which a password cannot be reused.
public String getPasswordRolloverTime()
Number of days the password rollover is allowed. Minimum value can be 1/24 day (1 hour) to 60 days.
public String getPasswordGraceTime()
Number of grace days for user to change password.
public Boolean getIsUserCreated()
Represents if the profile is created by user.
public String getSessionsPerUser()
Specify the number of concurrent sessions to which you want to limit the user.
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.
public String getConnectTime()
Specify the total elapsed time limit for a session, expressed in minutes.
public String getIdleTime()
Specify the permitted periods of continuous inactive time during a session, expressed in minutes.
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.
public String getCpuPerCall()
Specify the CPU time limit for a call (a parse, execute, or fetch), expressed in hundredths of seconds.
public String getCpuPerSession()
Specify the CPU time limit for a session, expressed in hundredth of seconds.
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).
public String getLogicalReadsPerSession()
Specify the permitted number of data blocks read in a session, including blocks read from memory and disk.
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.
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"}
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"}}
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.