Class ExtensionUserStateUser
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.identitydomains.model.ExtensionUserStateUser
-
@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 theExtensionUserStateUser.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 theExtensionUserStateUser.Builder
, which maintain a set of all explicitly set fields calledExtensionUserStateUser.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
ExtensionUserStateUser.Builder
-
Constructor Summary
Constructors Constructor Description ExtensionUserStateUser(String lastSuccessfulLoginDate, String previousSuccessfulLoginDate, String lastFailedLoginDate, Integer loginAttempts, Integer recoveryAttempts, Integer recoveryEnrollAttempts, Integer maxConcurrentSessions, UserExtRecoveryLocked recoveryLocked, UserExtLocked locked)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
ExtensionUserStateUser
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static ExtensionUserStateUser.Builder builder()
Create a new builder.
-
toBuilder
public ExtensionUserStateUser.Builder toBuilder()
-
getLastSuccessfulLoginDate
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
- Returns:
- the value
-
getPreviousSuccessfulLoginDate
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
- Returns:
- the value
-
getLastFailedLoginDate
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
- Returns:
- the value
-
getLoginAttempts
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
- Returns:
- the value
-
getRecoveryAttempts
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
- Returns:
- the value
-
getRecoveryEnrollAttempts
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
- Returns:
- the value
-
getMaxConcurrentSessions
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
- Returns:
- the value
-
getRecoveryLocked
public UserExtRecoveryLocked getRecoveryLocked()
-
getLocked
public UserExtLocked getLocked()
-
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
-
-