Class SetWorkloadPasswordPolicyRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-18T19:29:51.953-07:00")
    public class SetWorkloadPasswordPolicyRequest
    extends Object
    Request object for a set workload password policy request.
    • Constructor Detail

      • SetWorkloadPasswordPolicyRequest

        public SetWorkloadPasswordPolicyRequest()
    • Method Detail

      • getGlobalPasswordPolicy

        public PasswordPolicy getGlobalPasswordPolicy()
        Getter for globalPasswordPolicy. The global password policy object. If set, maxPasswordLifetimeDays is ignored, and if not set the default values for the different password policies are used. See PasswordPolicy for more details on the different default values.
      • setGlobalPasswordPolicy

        public void setGlobalPasswordPolicy​(PasswordPolicy globalPasswordPolicy)
        Setter for globalPasswordPolicy. The global password policy object. If set, maxPasswordLifetimeDays is ignored, and if not set the default values for the different password policies are used. See PasswordPolicy for more details on the different default values.
      • getMachineUsersPasswordPolicy

        public PasswordPolicy getMachineUsersPasswordPolicy()
        Getter for machineUsersPasswordPolicy. The password policy object for machine users. If set, this will be used for enforcing password complexity for machine users instead of the global password policy.
      • setMachineUsersPasswordPolicy

        public void setMachineUsersPasswordPolicy​(PasswordPolicy machineUsersPasswordPolicy)
        Setter for machineUsersPasswordPolicy. The password policy object for machine users. If set, this will be used for enforcing password complexity for machine users instead of the global password policy.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object