public final class UserPasswordValidationPolicy
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
UserPasswordValidationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
UserPasswordValidationPolicy |
clone() |
Integer |
getAllowedFailedAttempts()
Number of failed login attempts allowed before user get locked.
|
Boolean |
getEnableFailedAttemptsCheck()
If true, failed login attempts check will be enabled.
|
Boolean |
getEnablePasswordVerification()
If true, the user must specify the current password before changing the password.
|
String |
getPasswordExpirationDuration()
Expiration duration after password is updated.
|
PasswordStatus |
getStatus()
Output only.
|
UserPasswordValidationPolicy |
set(String fieldName,
Object value) |
UserPasswordValidationPolicy |
setAllowedFailedAttempts(Integer allowedFailedAttempts)
Number of failed login attempts allowed before user get locked.
|
UserPasswordValidationPolicy |
setEnableFailedAttemptsCheck(Boolean enableFailedAttemptsCheck)
If true, failed login attempts check will be enabled.
|
UserPasswordValidationPolicy |
setEnablePasswordVerification(Boolean enablePasswordVerification)
If true, the user must specify the current password before changing the password.
|
UserPasswordValidationPolicy |
setPasswordExpirationDuration(String passwordExpirationDuration)
Expiration duration after password is updated.
|
UserPasswordValidationPolicy |
setStatus(PasswordStatus status)
Output only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Integer getAllowedFailedAttempts()
null for nonepublic UserPasswordValidationPolicy setAllowedFailedAttempts(Integer allowedFailedAttempts)
allowedFailedAttempts - allowedFailedAttempts or null for nonepublic Boolean getEnableFailedAttemptsCheck()
null for nonepublic UserPasswordValidationPolicy setEnableFailedAttemptsCheck(Boolean enableFailedAttemptsCheck)
enableFailedAttemptsCheck - enableFailedAttemptsCheck or null for nonepublic Boolean getEnablePasswordVerification()
null for nonepublic UserPasswordValidationPolicy setEnablePasswordVerification(Boolean enablePasswordVerification)
enablePasswordVerification - enablePasswordVerification or null for nonepublic String getPasswordExpirationDuration()
null for nonepublic UserPasswordValidationPolicy setPasswordExpirationDuration(String passwordExpirationDuration)
passwordExpirationDuration - passwordExpirationDuration or null for nonepublic PasswordStatus getStatus()
null for nonepublic UserPasswordValidationPolicy setStatus(PasswordStatus status)
status - status or null for nonepublic UserPasswordValidationPolicy set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic UserPasswordValidationPolicy clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.