Class WorkloadPasswordPolicy

java.lang.Object
com.cloudera.cdp.iam.model.WorkloadPasswordPolicy

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.842-07:00") public class WorkloadPasswordPolicy extends Object
Information about the workload password policy for an account.
  • Constructor Details

    • WorkloadPasswordPolicy

      public WorkloadPasswordPolicy()
  • Method Details

    • 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object