@Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class ExtensionPasswordStateUser extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
This extension defines 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 ExtensionPasswordStateUser.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 ExtensionPasswordStateUser.Builder
, which maintain a
set of all explicitly set fields called ExtensionPasswordStateUser.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 |
ExtensionPasswordStateUser.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ExtensionPasswordStateUser(String lastSuccessfulSetDate,
Boolean cantChange,
Boolean cantExpire,
Boolean mustChange,
Boolean expired,
String lastSuccessfulValidationDate,
String lastFailedValidationDate,
UserExtApplicablePasswordPolicy applicablePasswordPolicy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ExtensionPasswordStateUser.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
UserExtApplicablePasswordPolicy |
getApplicablePasswordPolicy() |
Boolean |
getCantChange()
Indicates that the current password MAY NOT be changed and all other password expiry settings
SHALL be ignored
|
Boolean |
getCantExpire()
Indicates that the password expiry policy will not be applied for the current Resource
|
Boolean |
getExpired()
Indicates that the password has expired
|
String |
getLastFailedValidationDate()
A DateTime that specifies the date and time when last failed password validation was set
|
String |
getLastSuccessfulSetDate()
A DateTime that specifies the date and time when the current password was set
|
String |
getLastSuccessfulValidationDate()
A DateTime that specifies the date and time when last successful password validation was set
|
Boolean |
getMustChange()
Indicates that the subject password value MUST change on next login.
|
int |
hashCode() |
ExtensionPasswordStateUser.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"lastSuccessfulSetDate","cantChange","cantExpire","mustChange","expired","lastSuccessfulValidationDate","lastFailedValidationDate","applicablePasswordPolicy"}) public ExtensionPasswordStateUser(String lastSuccessfulSetDate, Boolean cantChange, Boolean cantExpire, Boolean mustChange, Boolean expired, String lastSuccessfulValidationDate, String lastFailedValidationDate, UserExtApplicablePasswordPolicy applicablePasswordPolicy)
public static ExtensionPasswordStateUser.Builder builder()
Create a new builder.
public ExtensionPasswordStateUser.Builder toBuilder()
public String getLastSuccessfulSetDate()
A DateTime that specifies the date and time when the current password was set
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: dateTime - uniqueness: none
public Boolean getCantChange()
Indicates that the current password MAY NOT be changed and all other password expiry settings SHALL be ignored
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: boolean - uniqueness: none
public Boolean getCantExpire()
Indicates that the password expiry policy will not be applied for the current Resource
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: boolean - uniqueness: none
public Boolean getMustChange()
Indicates that the subject password value MUST change on next login. If not changed, typically the account is locked. The value may be set indirectly when the subject’s current password expires or directly set by an administrator.
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: boolean - uniqueness: none
public Boolean getExpired()
Indicates that the password has expired
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: boolean - uniqueness: none
public String getLastSuccessfulValidationDate()
A DateTime that specifies the date and time when last successful password validation was set
*Added In:** 2011192329
*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: request - type: dateTime - uniqueness: none
public String getLastFailedValidationDate()
A DateTime that specifies the date and time when last failed password validation was set
*Added In:** 2011192329
*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: request - type: dateTime - uniqueness: none
public UserExtApplicablePasswordPolicy getApplicablePasswordPolicy()
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.