public UpdateLoginProfileRequest withPasswordResetRequired(Boolean passwordResetRequired) {
        setPasswordResetRequired(passwordResetRequired);
        return this;
    }
<p>
Allows this new password to be used only once by requiring the specified IAM user to set a new password on next
sign-in.
</p>

@param passwordResetRequired
       Allows this new password to be used only once by requiring the specified IAM user to set a new password on
       next sign-in.
@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/UpdateLoginProfileRequest.java