public final class PasswordValidationPolicy
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 |
|---|
PasswordValidationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
PasswordValidationPolicy |
clone() |
String |
getComplexity()
The complexity of the password.
|
Boolean |
getDisallowCompromisedCredentials()
This field is deprecated and will be removed in a future version of the API.
|
Boolean |
getDisallowUsernameSubstring()
Disallow username as a part of the password.
|
Boolean |
getEnablePasswordPolicy()
Whether the password policy is enabled or not.
|
Integer |
getMinLength()
Minimum number of characters allowed.
|
String |
getPasswordChangeInterval()
Minimum interval after which the password can be changed.
|
Integer |
getReuseInterval()
Number of previous passwords that cannot be reused.
|
PasswordValidationPolicy |
set(String fieldName,
Object value) |
PasswordValidationPolicy |
setComplexity(String complexity)
The complexity of the password.
|
PasswordValidationPolicy |
setDisallowCompromisedCredentials(Boolean disallowCompromisedCredentials)
This field is deprecated and will be removed in a future version of the API.
|
PasswordValidationPolicy |
setDisallowUsernameSubstring(Boolean disallowUsernameSubstring)
Disallow username as a part of the password.
|
PasswordValidationPolicy |
setEnablePasswordPolicy(Boolean enablePasswordPolicy)
Whether the password policy is enabled or not.
|
PasswordValidationPolicy |
setMinLength(Integer minLength)
Minimum number of characters allowed.
|
PasswordValidationPolicy |
setPasswordChangeInterval(String passwordChangeInterval)
Minimum interval after which the password can be changed.
|
PasswordValidationPolicy |
setReuseInterval(Integer reuseInterval)
Number of previous passwords that cannot be reused.
|
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 String getComplexity()
null for nonepublic PasswordValidationPolicy setComplexity(String complexity)
complexity - complexity or null for nonepublic Boolean getDisallowCompromisedCredentials()
null for nonepublic PasswordValidationPolicy setDisallowCompromisedCredentials(Boolean disallowCompromisedCredentials)
disallowCompromisedCredentials - disallowCompromisedCredentials or null for nonepublic Boolean getDisallowUsernameSubstring()
null for nonepublic PasswordValidationPolicy setDisallowUsernameSubstring(Boolean disallowUsernameSubstring)
disallowUsernameSubstring - disallowUsernameSubstring or null for nonepublic Boolean getEnablePasswordPolicy()
null for nonepublic PasswordValidationPolicy setEnablePasswordPolicy(Boolean enablePasswordPolicy)
enablePasswordPolicy - enablePasswordPolicy or null for nonepublic Integer getMinLength()
null for nonepublic PasswordValidationPolicy setMinLength(Integer minLength)
minLength - minLength or null for nonepublic String getPasswordChangeInterval()
null for nonepublic PasswordValidationPolicy setPasswordChangeInterval(String passwordChangeInterval)
passwordChangeInterval - passwordChangeInterval or null for nonepublic Integer getReuseInterval()
null for nonepublic PasswordValidationPolicy setReuseInterval(Integer reuseInterval)
reuseInterval - reuseInterval or null for nonepublic PasswordValidationPolicy set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PasswordValidationPolicy clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.