@Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class ExtensionUserStateUser extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
This extension defines the attributes used to manage account passwords within a service provider.
The extension is typically applied to a User resource, but MAY be applied to other resources that
use passwords.
Note: Objects should always be created or deserialized using the ExtensionUserStateUser.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 ExtensionUserStateUser.Builder
, which maintain a
set of all explicitly set fields called ExtensionUserStateUser.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 |
ExtensionUserStateUser.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ExtensionUserStateUser(String lastSuccessfulLoginDate,
String previousSuccessfulLoginDate,
String lastFailedLoginDate,
Integer loginAttempts,
Integer recoveryAttempts,
Integer recoveryEnrollAttempts,
Integer maxConcurrentSessions,
UserExtRecoveryLocked recoveryLocked,
UserExtLocked locked)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ExtensionUserStateUser.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getLastFailedLoginDate()
The last failed login date.
|
String |
getLastSuccessfulLoginDate()
The last successful login date.
|
UserExtLocked |
getLocked() |
Integer |
getLoginAttempts()
The number of failed login attempts.
|
Integer |
getMaxConcurrentSessions()
The maximum number of concurrent sessions for a user.
|
String |
getPreviousSuccessfulLoginDate()
The previous successful login date.
|
Integer |
getRecoveryAttempts()
The number of failed recovery attempts.
|
Integer |
getRecoveryEnrollAttempts()
The number of failed account recovery enrollment attempts.
|
UserExtRecoveryLocked |
getRecoveryLocked() |
int |
hashCode() |
ExtensionUserStateUser.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"lastSuccessfulLoginDate","previousSuccessfulLoginDate","lastFailedLoginDate","loginAttempts","recoveryAttempts","recoveryEnrollAttempts","maxConcurrentSessions","recoveryLocked","locked"}) public ExtensionUserStateUser(String lastSuccessfulLoginDate, String previousSuccessfulLoginDate, String lastFailedLoginDate, Integer loginAttempts, Integer recoveryAttempts, Integer recoveryEnrollAttempts, Integer maxConcurrentSessions, UserExtRecoveryLocked recoveryLocked, UserExtLocked locked)
public static ExtensionUserStateUser.Builder builder()
Create a new builder.
public ExtensionUserStateUser.Builder toBuilder()
public String getLastSuccessfulLoginDate()
The last successful login date.
*SCIM++ Properties:** - idcsSearchable: true - idcsAllowUpdatesInReadOnlyMode: true - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: dateTime - uniqueness: none
public String getPreviousSuccessfulLoginDate()
The previous successful login date.
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: dateTime - uniqueness: none
public String getLastFailedLoginDate()
The last failed login date.
*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: dateTime - uniqueness: none
public Integer getLoginAttempts()
The number of failed login attempts. The value is reset to 0 after a successful login.
*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: request - type: integer - uniqueness: none
public Integer getRecoveryAttempts()
The number of failed recovery attempts. The value is reset to 0 after a successful login.
*Added In:** 19.1.4
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: integer - uniqueness: none
public Integer getRecoveryEnrollAttempts()
The number of failed account recovery enrollment attempts.
*Added In:** 19.1.4
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: integer - uniqueness: none
public Integer getMaxConcurrentSessions()
The maximum number of concurrent sessions for a user.
*Added In:** 20.1.3
*SCIM++ Properties:** - caseExact: false - idcsMaxValue: 999 - idcsMinValue: 1 - multiValued: false - mutability: readWrite - required: false - returned: default - type: integer - uniqueness: none
public UserExtRecoveryLocked getRecoveryLocked()
public UserExtLocked getLocked()
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.