Package com.cloudera.cdp.iam.model
Class WorkloadPasswordPolicy
- java.lang.Object
-
- com.cloudera.cdp.iam.model.WorkloadPasswordPolicy
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-12-01T13:59:42.174-08:00") public class WorkloadPasswordPolicy extends Object
Information about the workload password policy for an account.
-
-
Constructor Summary
Constructors Constructor Description WorkloadPasswordPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getMaxPasswordLifetimeDays()
Getter for maxPasswordLifetimeDays.Integer
getMinPasswordLength()
Getter for minPasswordLength.Integer
getMinPasswordLifetimeDays()
Getter for minPasswordLifetimeDays.Boolean
getMustIncludeLowerCaseCharacters()
Getter for mustIncludeLowerCaseCharacters.Boolean
getMustIncludeNumbers()
Getter for mustIncludeNumbers.Boolean
getMustIncludeSymbols()
Getter for mustIncludeSymbols.Boolean
getMustIncludeUpperCaseCharacters()
Getter for mustIncludeUpperCaseCharacters.Integer
getPasswordHistorySize()
Getter for passwordHistorySize.int
hashCode()
void
setMaxPasswordLifetimeDays(Integer maxPasswordLifetimeDays)
Setter for maxPasswordLifetimeDays.void
setMinPasswordLength(Integer minPasswordLength)
Setter for minPasswordLength.void
setMinPasswordLifetimeDays(Integer minPasswordLifetimeDays)
Setter for minPasswordLifetimeDays.void
setMustIncludeLowerCaseCharacters(Boolean mustIncludeLowerCaseCharacters)
Setter for mustIncludeLowerCaseCharacters.void
setMustIncludeNumbers(Boolean mustIncludeNumbers)
Setter for mustIncludeNumbers.void
setMustIncludeSymbols(Boolean mustIncludeSymbols)
Setter for mustIncludeSymbols.void
setMustIncludeUpperCaseCharacters(Boolean mustIncludeUpperCaseCharacters)
Setter for mustIncludeUpperCaseCharacters.void
setPasswordHistorySize(Integer passwordHistorySize)
Setter for passwordHistorySize.String
toString()
-
-
-
Method Detail
-
getMaxPasswordLifetimeDays
public Integer getMaxPasswordLifetimeDays()
Getter for maxPasswordLifetimeDays. The maximum lifetime, in days, of the password. If '0' passwords never expire.
-
setMaxPasswordLifetimeDays
public void setMaxPasswordLifetimeDays(Integer maxPasswordLifetimeDays)
Setter for maxPasswordLifetimeDays. The maximum lifetime, in days, of the password. If '0' passwords never expire.
-
getMinPasswordLength
public Integer getMinPasswordLength()
Getter for minPasswordLength. The minimum length of a password.
-
setMinPasswordLength
public void setMinPasswordLength(Integer minPasswordLength)
Setter for minPasswordLength. The minimum length of a password.
-
getMustIncludeUpperCaseCharacters
public Boolean getMustIncludeUpperCaseCharacters()
Getter for mustIncludeUpperCaseCharacters. Whether passwords must include upper case characters.
-
setMustIncludeUpperCaseCharacters
public void setMustIncludeUpperCaseCharacters(Boolean mustIncludeUpperCaseCharacters)
Setter for mustIncludeUpperCaseCharacters. Whether passwords must include upper case characters.
-
getMustIncludeLowerCaseCharacters
public Boolean getMustIncludeLowerCaseCharacters()
Getter for mustIncludeLowerCaseCharacters. Whether passwords must include lower case characters.
-
setMustIncludeLowerCaseCharacters
public void setMustIncludeLowerCaseCharacters(Boolean mustIncludeLowerCaseCharacters)
Setter for mustIncludeLowerCaseCharacters. Whether passwords must include lower case characters.
-
getMustIncludeNumbers
public Boolean getMustIncludeNumbers()
Getter for mustIncludeNumbers. Whether passwords must include numbers.
-
setMustIncludeNumbers
public void setMustIncludeNumbers(Boolean mustIncludeNumbers)
Setter for mustIncludeNumbers. Whether passwords must include numbers.
-
getMustIncludeSymbols
public Boolean getMustIncludeSymbols()
Getter for mustIncludeSymbols. Whether passwords must include symbols. The symbols are '#', '&', '*', '$', '%', '@', '^', '.', '_', and '!'.
-
setMustIncludeSymbols
public void setMustIncludeSymbols(Boolean mustIncludeSymbols)
Setter for mustIncludeSymbols. Whether passwords must include symbols. The symbols are '#', '&', '*', '$', '%', '@', '^', '.', '_', and '!'.
-
getMinPasswordLifetimeDays
public Integer getMinPasswordLifetimeDays()
Getter for minPasswordLifetimeDays. The minimum lifetime of passwords, in days. The password must be used for this duration before it can be changed. If set to '0' the password may be changed any time. The default is 0.
-
setMinPasswordLifetimeDays
public void setMinPasswordLifetimeDays(Integer minPasswordLifetimeDays)
Setter for minPasswordLifetimeDays. The minimum lifetime of passwords, in days. The password must be used for this duration before it can be changed. If set to '0' the password may be changed any time. The default is 0.
-
getPasswordHistorySize
public Integer getPasswordHistorySize()
Getter for passwordHistorySize. The number of previous passwords that should be remembered. The user or machine user is prevented from reusing these passwords. Can be any number between 0 and 20. The default is 0, this value means all previous passwords may be reused.
-
setPasswordHistorySize
public void setPasswordHistorySize(Integer passwordHistorySize)
Setter for passwordHistorySize. The number of previous passwords that should be remembered. The user or machine user is prevented from reusing these passwords. Can be any number between 0 and 20. The default is 0, this value means all previous passwords may be reused.
-
-