public CreateBackendAuthUserPoolConfig withPasswordPolicy(CreateBackendAuthPasswordPolicyConfig passwordPolicy) {
        setPasswordPolicy(passwordPolicy);
        return this;
    }
<p>
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
</p>

@param passwordPolicy
       Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify
       project.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplifybackend/src/main/java/com/amazonaws/services/amplifybackend/model/CreateBackendAuthUserPoolConfig.java