public GetAccountPasswordPolicyResult withPasswordPolicy(PasswordPolicy passwordPolicy) {
        setPasswordPolicy(passwordPolicy);
        return this;
    }
<p>
A structure that contains details about the account's password policy.
</p>

@param passwordPolicy
       A structure that contains details about the account's password policy.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/GetAccountPasswordPolicyResult.java