@Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class UserExtLocked extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A complex attribute that indicates an account is locked (blocking any new sessions).
*SCIM++ Properties:** - idcsCsvAttributeNameMappings: [[columnHeaderName:Locked,
mapsTo:locked.on], [columnHeaderName:Locked Reason, mapsTo:locked.reason],
[columnHeaderName:Locked Date, mapsTo:locked.lockDate]] - idcsSearchable: false -
idcsAllowUpdatesInReadOnlyMode: true - multiValued: false - mutability: readWrite - required:
false - returned: default - type: complex - uniqueness: none
Note: Objects should always be created or deserialized using the UserExtLocked.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 UserExtLocked.Builder
, which maintain a
set of all explicitly set fields called UserExtLocked.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 |
UserExtLocked.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UserExtLocked(Integer reason,
Boolean on,
String lockDate,
Boolean expired)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UserExtLocked.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getExpired()
Indicates whether the user password is expired.
|
String |
getLockDate()
The date and time that the current resource was locked.
|
Boolean |
getOn()
Indicates that the account is locked.
|
Integer |
getReason()
Indicates the reason for locking the account.
|
int |
hashCode() |
UserExtLocked.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"reason","on","lockDate","expired"}) public UserExtLocked(Integer reason, Boolean on, String lockDate, Boolean expired)
public static UserExtLocked.Builder builder()
Create a new builder.
public UserExtLocked.Builder toBuilder()
public Integer getReason()
Indicates the reason for locking the account. Valid values are: 0 - failed password login attempts, 1 - admin lock, 2 - failed reset password attempts, 3 - failed MFA login attempts, 4 - failed MFA login attempts for federated user, 5 - failed Database login attempts
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: default - type: integer - uniqueness: none
public Boolean getOn()
Indicates that the account is locked.
*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: default - type: boolean - uniqueness: none
public String getLockDate()
The date and time that the current resource was locked.
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: dateTime - uniqueness: none
public Boolean getExpired()
Indicates whether the user password is expired. If this value is false, password expiry is still evaluated during user login.
*Added In:** 20.1.3
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: request - type: boolean - uniqueness: none
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.